CChangeLayerCommand: Make use of override
This commit is contained in:
parent
8aaa97422b
commit
1f2d651f22
|
@ -15,9 +15,9 @@ class CChangeLayerCommand : public IUndoCommand
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CChangeLayerCommand(CWorldEditor *pEditor, const QList<CScriptNode*>& rkNodeList, CScriptLayer *pNewLayer);
|
CChangeLayerCommand(CWorldEditor *pEditor, const QList<CScriptNode*>& rkNodeList, CScriptLayer *pNewLayer);
|
||||||
void undo();
|
void undo() override;
|
||||||
void redo();
|
void redo() override;
|
||||||
bool AffectsCleanState() const { return true; }
|
bool AffectsCleanState() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CCHANGELAYERCOMMAND_H
|
#endif // CCHANGELAYERCOMMAND_H
|
||||||
|
|
Loading…
Reference in New Issue