From abfd035050279a033aa6f1195c35a9394e87c46c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 12:45:42 -0400 Subject: [PATCH] CSelectNodeCommand: Make use of override --- src/Editor/Undo/CSelectNodeCommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Editor/Undo/CSelectNodeCommand.h b/src/Editor/Undo/CSelectNodeCommand.h index f20443f3..4d38335f 100644 --- a/src/Editor/Undo/CSelectNodeCommand.h +++ b/src/Editor/Undo/CSelectNodeCommand.h @@ -18,9 +18,9 @@ public: , mpSelection(pSelection) {} - void undo() { mpSelection->DeselectNode(*mpNode); } - void redo() { mpSelection->SelectNode(*mpNode); } - bool AffectsCleanState() const { return false; } + void undo() override { mpSelection->DeselectNode(*mpNode); } + void redo() override { mpSelection->SelectNode(*mpNode); } + bool AffectsCleanState() const override { return false; } }; #endif // CSELECTNODECOMMAND_H