Skip to content

Commit

Permalink
Fix windows compilation with c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed May 30, 2024
1 parent 3dd4e63 commit 0c53a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subs_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0c53a99

Please sign in to comment.