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