From f3c03ff4bdb5407620164d685a5f78c38ce6f334 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 16:19:53 -0400 Subject: [PATCH] CWorldEditor: Make use of push_back over operator<< --- src/Editor/WorldEditor/CWorldEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/WorldEditor/CWorldEditor.cpp b/src/Editor/WorldEditor/CWorldEditor.cpp index 470fb9c3..d5cb5a09 100644 --- a/src/Editor/WorldEditor/CWorldEditor.cpp +++ b/src/Editor/WorldEditor/CWorldEditor.cpp @@ -1103,7 +1103,7 @@ void CWorldEditor::OnUnlinkClicked() for (CSelectionIterator It(mpSelection); It; ++It) { if (It->NodeType() == ENodeType::Script) - SelectedScriptNodes << static_cast(*It); + SelectedScriptNodes.push_back(static_cast(*It)); } if (!SelectedScriptNodes.isEmpty())