From 1f2d651f227d1698ae22ac6d1e213e60fb7b37b5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 28 Jun 2020 07:06:52 -0400 Subject: [PATCH] CChangeLayerCommand: Make use of override --- src/Editor/Undo/CChangeLayerCommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Editor/Undo/CChangeLayerCommand.h b/src/Editor/Undo/CChangeLayerCommand.h index 26861569..500ab74c 100644 --- a/src/Editor/Undo/CChangeLayerCommand.h +++ b/src/Editor/Undo/CChangeLayerCommand.h @@ -15,9 +15,9 @@ class CChangeLayerCommand : public IUndoCommand public: CChangeLayerCommand(CWorldEditor *pEditor, const QList& rkNodeList, CScriptLayer *pNewLayer); - void undo(); - void redo(); - bool AffectsCleanState() const { return true; } + void undo() override; + void redo() override; + bool AffectsCleanState() const override { return true; } }; #endif // CCHANGELAYERCOMMAND_H