CMoveRenameResourceCommand: Make use of override
This commit is contained in:
parent
d86df42867
commit
3ad094f1e7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue