CInvertSelectionCommand: Make use of override
This commit is contained in:
parent
3b3770d18c
commit
70795c45d1
|
@ -26,9 +26,9 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
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 // CINVERTSELECTIONCOMMAND_H
|
||||
|
|
Loading…
Reference in New Issue