CSelectAllCommand: Make use of override

This commit is contained in:
Lioncash 2020-07-03 12:45:19 -04:00
parent 220f261543
commit 77d3403419
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ public:
mNewSelection << *It; mNewSelection << *It;
} }
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 // CSELECTALLCOMMAND_H #endif // CSELECTALLCOMMAND_H