Fix windows compilation with c++17

This commit is contained in:
arch1t3cht 2024-05-30 22:40:20 +02:00
parent 3dd4e637f6
commit 0c53a99b71
1 changed files with 2 additions and 2 deletions

View File

@ -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 {