From 992fe3dbfe4d5479e920ea5a41e0c5bad5e56533 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 12:41:56 -0400 Subject: [PATCH] CMoveResourceCommand: Make use of override --- src/Editor/Undo/CMoveResourceCommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)