From 70795c45d1c8692a4b852ce595a12af0fc44efa5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 12:38:49 -0400 Subject: [PATCH] CInvertSelectionCommand: Make use of override --- src/Editor/Undo/CInvertSelectionCommand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Editor/Undo/CInvertSelectionCommand.h b/src/Editor/Undo/CInvertSelectionCommand.h index fd29e289..4c96a336 100644 --- a/src/Editor/Undo/CInvertSelectionCommand.h +++ b/src/Editor/Undo/CInvertSelectionCommand.h @@ -26,9 +26,9 @@ public: } } - 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 // CINVERTSELECTIONCOMMAND_H