CCloneSelectionCommand: Make use of override

This commit is contained in:
Lioncash 2020-06-28 07:07:22 -04:00
parent 1f2d651f22
commit d7ee7fe22d
1 changed files with 5 additions and 4 deletions

View File

@ -14,10 +14,11 @@ class CCloneSelectionCommand : public IUndoCommand
CInstancePtrList mLinkedInstances;
public:
CCloneSelectionCommand(INodeEditor *pEditor);
void undo();
void redo();
bool AffectsCleanState() const { return true; }
explicit CCloneSelectionCommand(INodeEditor *pEditor);
void undo() override;
void redo() override;
bool AffectsCleanState() const override { return true; }
};
#endif // CCLONESELECTIONCOMMAND_H