From 0c53a99b712190d3a9483b6882c6dd687f278f6d Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Thu, 30 May 2024 22:40:20 +0200 Subject: [PATCH] Fix windows compilation with c++17 --- src/subs_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subs_controller.cpp b/src/subs_controller.cpp index 212d2dbad..3b0eb4b1d 100644 --- a/src/subs_controller.cpp +++ b/src/subs_controller.cpp @@ -389,11 +389,11 @@ void SubsController::Redo() { } wxString SubsController::GetUndoDescription() const { - return IsUndoStackEmpty() ? "" : undo_stack.back().undo_description; + return IsUndoStackEmpty() ? wxString() : undo_stack.back().undo_description; } wxString SubsController::GetRedoDescription() const { - return IsRedoStackEmpty() ? "" : redo_stack.back().undo_description; + return IsRedoStackEmpty() ? wxString() : redo_stack.back().undo_description; } agi::fs::path SubsController::Filename() const {