Fix windows compilation with c++17
This commit is contained in:
parent
3dd4e637f6
commit
0c53a99b71
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue