CWorldEditor: Make use of push_back over operator<<

This commit is contained in:
Lioncash 2020-07-10 16:19:53 -04:00
parent 0465029055
commit f3c03ff4bd
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ void CWorldEditor::OnUnlinkClicked()
for (CSelectionIterator It(mpSelection); It; ++It) for (CSelectionIterator It(mpSelection); It; ++It)
{ {
if (It->NodeType() == ENodeType::Script) if (It->NodeType() == ENodeType::Script)
SelectedScriptNodes << static_cast<CScriptNode*>(*It); SelectedScriptNodes.push_back(static_cast<CScriptNode*>(*It));
} }
if (!SelectedScriptNodes.isEmpty()) if (!SelectedScriptNodes.isEmpty())