From 77d3403419b83a2e65a04b8701f869a311566ce0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 12:45:19 -0400 Subject: [PATCH] CSelectAllCommand: Make use of override --- src/Editor/Undo/CSelectAllCommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Editor/Undo/CSelectAllCommand.h b/src/Editor/Undo/CSelectAllCommand.h index 9a051529..c8db0f8b 100644 --- a/src/Editor/Undo/CSelectAllCommand.h +++ b/src/Editor/Undo/CSelectAllCommand.h @@ -24,9 +24,9 @@ public: mNewSelection << *It; } - void undo() { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); } - void redo() { mpSelection->SetSelectedNodes(mNewSelection.DereferenceList()); } - bool AffectsCleanState() const { return false; } + void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); } + void redo() override { mpSelection->SetSelectedNodes(mNewSelection.DereferenceList()); } + bool AffectsCleanState() const override { return false; } }; #endif // CSELECTALLCOMMAND_H