CAddLinkCommand: Make use of override
This commit is contained in:
parent
8994a734dd
commit
8aaa97422b
|
@ -14,9 +14,9 @@ class CAddLinkCommand : public IUndoCommand
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CAddLinkCommand(CWorldEditor *pEditor, CLink Link);
|
CAddLinkCommand(CWorldEditor *pEditor, CLink Link);
|
||||||
void undo();
|
void undo() override;
|
||||||
void redo();
|
void redo() override;
|
||||||
bool AffectsCleanState() const { return true; }
|
bool AffectsCleanState() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CADDLINKCOMMAND_H
|
#endif // CADDLINKCOMMAND_H
|
||||||
|
|
Loading…
Reference in New Issue