CMoveRenameResourceCommand: Make use of override

This commit is contained in:
Lioncash 2020-07-03 12:42:54 -04:00
parent d86df42867
commit 3ad094f1e7
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@ public:
, mOldNameAutoGenerated(pEntry->HasFlag(EResEntryFlag::AutoResName)) , mOldNameAutoGenerated(pEntry->HasFlag(EResEntryFlag::AutoResName))
{} {}
void undo() { DoMove(mOldName, mOldNameAutoGenerated); } void undo() override { DoMove(mOldName, mOldNameAutoGenerated); }
void redo() { DoMove(mNewName, false); } void redo() override { DoMove(mNewName, false); }
bool AffectsCleanState() const { return false; } bool AffectsCleanState() const override { return false; }
protected: protected:
void DoMove(const TString& rkName, bool IsAutoName) void DoMove(const TString& rkName, bool IsAutoName)