From fafa12af918496529ba88105427c0512a0a8144e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 15:22:24 -0400 Subject: [PATCH] CClearSelectionCommand: Make use of push_back over operator<< --- src/Editor/Undo/CClearSelectionCommand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/Undo/CClearSelectionCommand.h b/src/Editor/Undo/CClearSelectionCommand.h index dca76200..28f307e2 100644 --- a/src/Editor/Undo/CClearSelectionCommand.h +++ b/src/Editor/Undo/CClearSelectionCommand.h @@ -18,7 +18,7 @@ public: mpSelection(pSelection) { for (CSelectionIterator It(pSelection); It; ++It) - mOldSelection << *It; + mOldSelection.push_back(*It); } void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }