CCloneSelectionCommand: Make use of override
This commit is contained in:
parent
1f2d651f22
commit
d7ee7fe22d
|
@ -14,10 +14,11 @@ class CCloneSelectionCommand : public IUndoCommand
|
||||||
CInstancePtrList mLinkedInstances;
|
CInstancePtrList mLinkedInstances;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CCloneSelectionCommand(INodeEditor *pEditor);
|
explicit CCloneSelectionCommand(INodeEditor *pEditor);
|
||||||
void undo();
|
|
||||||
void redo();
|
void undo() override;
|
||||||
bool AffectsCleanState() const { return true; }
|
void redo() override;
|
||||||
|
bool AffectsCleanState() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CCLONESELECTIONCOMMAND_H
|
#endif // CCLONESELECTIONCOMMAND_H
|
||||||
|
|
Loading…
Reference in New Issue