CSelectNodeCommand: Make use of override

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

View File

@ -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