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()); }