CSelectAllCommand: Make use of override
This commit is contained in:
parent
220f261543
commit
77d3403419
|
@ -24,9 +24,9 @@ public:
|
|||
mNewSelection << *It;
|
||||
}
|
||||
|
||||
void undo() { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
||||
void redo() { mpSelection->SetSelectedNodes(mNewSelection.DereferenceList()); }
|
||||
bool AffectsCleanState() const { return false; }
|
||||
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
||||
void redo() override { mpSelection->SetSelectedNodes(mNewSelection.DereferenceList()); }
|
||||
bool AffectsCleanState() const override { return false; }
|
||||
};
|
||||
|
||||
#endif // CSELECTALLCOMMAND_H
|
||||
|
|
Loading…
Reference in New Issue