CClearSelectionCommand: Make use of push_back over operator<<
This commit is contained in:
parent
e19d0558d0
commit
fafa12af91
|
@ -18,7 +18,7 @@ public:
|
||||||
mpSelection(pSelection)
|
mpSelection(pSelection)
|
||||||
{
|
{
|
||||||
for (CSelectionIterator It(pSelection); It; ++It)
|
for (CSelectionIterator It(pSelection); It; ++It)
|
||||||
mOldSelection << *It;
|
mOldSelection.push_back(*It);
|
||||||
}
|
}
|
||||||
|
|
||||||
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
void undo() override { mpSelection->SetSelectedNodes(mOldSelection.DereferenceList()); }
|
||||||
|
|
Loading…
Reference in New Issue