CMoveResourceCommand: Make use of override

This commit is contained in:
Lioncash 2020-07-03 12:41:56 -04:00
parent 616cc3cc1d
commit 992fe3dbfe

View File

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