CSelectNodeCommand: Make use of override
This commit is contained in:
parent
77d3403419
commit
abfd035050
|
@ -18,9 +18,9 @@ public:
|
||||||
, mpSelection(pSelection)
|
, mpSelection(pSelection)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void undo() { mpSelection->DeselectNode(*mpNode); }
|
void undo() override { mpSelection->DeselectNode(*mpNode); }
|
||||||
void redo() { mpSelection->SelectNode(*mpNode); }
|
void redo() override { mpSelection->SelectNode(*mpNode); }
|
||||||
bool AffectsCleanState() const { return false; }
|
bool AffectsCleanState() const override { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CSELECTNODECOMMAND_H
|
#endif // CSELECTNODECOMMAND_H
|
||||||
|
|
Loading…
Reference in New Issue