CChangeLayerCommand: Make use of override

This commit is contained in:
Lioncash 2020-06-28 07:06:52 -04:00
parent 8aaa97422b
commit 1f2d651f22
1 changed files with 3 additions and 3 deletions

View File

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