mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-03 03:36:10 +00:00
CMoveResourceCommand: Make use of override
This commit is contained in:
parent
616cc3cc1d
commit
992fe3dbfe
@ -26,9 +26,9 @@ public:
|
||||
// purpose of tracking that flag is to detect which resources have been auto-categorized.
|
||||
// if this is being called, even if the new directory is auto-generated, it means the
|
||||
// user is intentionally placing it here, so it should be treated as a custom directory
|
||||
void undo() { DoMove(mOldDirPath, mOldDirAutoGenerated); }
|
||||
void redo() { DoMove(mNewDirPath, false); }
|
||||
bool AffectsCleanState() const { return false; }
|
||||
void undo() override { DoMove(mOldDirPath, mOldDirAutoGenerated); }
|
||||
void redo() override { DoMove(mNewDirPath, false); }
|
||||
bool AffectsCleanState() const override { return false; }
|
||||
|
||||
protected:
|
||||
void DoMove(const TString& rkPath, bool IsAutoDir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user