CSelectAllCommand: Make use of override
This commit is contained in:
parent
220f261543
commit
77d3403419
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue