diff --git a/src/Editor/Undo/CMoveResourceCommand.h b/src/Editor/Undo/CMoveResourceCommand.h index 71b85eba..d479383b 100644 --- a/src/Editor/Undo/CMoveResourceCommand.h +++ b/src/Editor/Undo/CMoveResourceCommand.h @@ -26,9 +26,9 @@ public: // purpose of tracking that flag is to detect which resources have been auto-categorized. // if this is being called, even if the new directory is auto-generated, it means the // user is intentionally placing it here, so it should be treated as a custom directory - void undo() { DoMove(mOldDirPath, mOldDirAutoGenerated); } - void redo() { DoMove(mNewDirPath, false); } - bool AffectsCleanState() const { return false; } + void undo() override { DoMove(mOldDirPath, mOldDirAutoGenerated); } + void redo() override { DoMove(mNewDirPath, false); } + bool AffectsCleanState() const override { return false; } protected: void DoMove(const TString& rkPath, bool IsAutoDir)