CInvertSelectionCommand: Make use of override

This commit is contained in:
Lioncash 2020-07-03 12:38:49 -04:00
parent 3b3770d18c
commit 70795c45d1
1 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ public:
} }
} }
void undo() { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); } void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
void redo() { mpSelection->SetSelectedNodes(mNewSelection.DereferenceList()); } void redo() override { mpSelection->SetSelectedNodes(mNewSelection.DereferenceList()); }
bool AffectsCleanState() const { return false; } bool AffectsCleanState() const override { return false; }
}; };
#endif // CINVERTSELECTIONCOMMAND_H #endif // CINVERTSELECTIONCOMMAND_H