CSelectAllCommand: Make use of push_back over operator<<

This commit is contained in:
Lioncash 2020-07-10 15:42:22 -04:00
parent 46e0b40908
commit 21f66aa786
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ public:
, mpSelection(pSelection) , mpSelection(pSelection)
{ {
for (CSelectionIterator It(pSelection); It; ++It) for (CSelectionIterator It(pSelection); It; ++It)
mOldSelection << *It; mOldSelection.push_back(*It);
for (CSceneIterator It(pScene, NodeFlags); It; ++It) for (CSceneIterator It(pScene, NodeFlags); It; ++It)
mNewSelection << *It; mNewSelection.push_back(*It);
} }
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); } void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }