mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-03 03:36:10 +00:00
CMoveDirectoryCommand: Make use of override
This commit is contained in:
parent
70795c45d1
commit
616cc3cc1d
@ -23,9 +23,9 @@ public:
|
||||
, mNewParent(pNewParent->FullPath())
|
||||
{}
|
||||
|
||||
void undo() { DoMove(mOldParent); }
|
||||
void redo() { DoMove(mNewParent); }
|
||||
bool AffectsCleanState() const { return false; }
|
||||
void undo() override { DoMove(mOldParent); }
|
||||
void redo() override { DoMove(mNewParent); }
|
||||
bool AffectsCleanState() const override { return false; }
|
||||
|
||||
protected:
|
||||
void DoMove(const TString& rkPath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user