CMoveRenameDirectoryCommand: Make use of override
This commit is contained in:
parent
992fe3dbfe
commit
d86df42867
|
@ -20,9 +20,9 @@ public:
|
||||||
, mNewName(rkNewName)
|
, mNewName(rkNewName)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void undo() { DoMove(mOldName); }
|
void undo() override { DoMove(mOldName); }
|
||||||
void redo() { DoMove(mNewName); }
|
void redo() override { DoMove(mNewName); }
|
||||||
bool AffectsCleanState() const { return false; }
|
bool AffectsCleanState() const override { return false; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void DoMove(const TString& rkName)
|
void DoMove(const TString& rkName)
|
||||||
|
|
Loading…
Reference in New Issue