mirror of https://github.com/odrling/Aegisub
Fix windows compilation with c++17
This commit is contained in:
parent
3dd4e637f6
commit
0c53a99b71
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue