Fix windows compilation with c++17

This commit is contained in:
arch1t3cht 2024-05-30 22:40:20 +02:00
parent 3dd4e637f6
commit 0c53a99b71

View file

@ -389,11 +389,11 @@ void SubsController::Redo() {
} }
wxString SubsController::GetUndoDescription() const { wxString SubsController::GetUndoDescription() const {
return IsUndoStackEmpty() ? "" : undo_stack.back().undo_description; return IsUndoStackEmpty() ? wxString() : undo_stack.back().undo_description;
} }
wxString SubsController::GetRedoDescription() const { 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 { agi::fs::path SubsController::Filename() const {