diff --git a/src/Editor/Undo/CRenameResourceCommand.h b/src/Editor/Undo/CRenameResourceCommand.h index a2bd0c52..c3848087 100644 --- a/src/Editor/Undo/CRenameResourceCommand.h +++ b/src/Editor/Undo/CRenameResourceCommand.h @@ -22,9 +22,9 @@ public: , mOldNameAutoGenerated(pEntry->HasFlag(EResEntryFlag::AutoResName)) {} - void undo() { DoMove(mOldName, mOldNameAutoGenerated); } - void redo() { DoMove(mNewName, false); } - bool AffectsCleanState() const { return false; } + void undo() override { DoMove(mOldName, mOldNameAutoGenerated); } + void redo() override { DoMove(mNewName, false); } + bool AffectsCleanState() const override { return false; } protected: void DoMove(const TString& rkName, bool IsAutoName)