From 07acac35c9abda415be4fe8793f67030beaf20bb Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 16:09:20 -0400 Subject: [PATCH] CAddLinkCommand: Make use of push_back over operator<< --- src/Editor/Undo/CAddLinkCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Editor/Undo/CAddLinkCommand.cpp b/src/Editor/Undo/CAddLinkCommand.cpp index 4d00bf82..e1fbea94 100644 --- a/src/Editor/Undo/CAddLinkCommand.cpp +++ b/src/Editor/Undo/CAddLinkCommand.cpp @@ -6,10 +6,10 @@ CAddLinkCommand::CAddLinkCommand(CWorldEditor *pEditor, CLink Link) , mpEditor(pEditor) , mLink(Link) { - mAffectedInstances << mLink.Sender(); + mAffectedInstances.push_back(mLink.Sender()); if (mLink.SenderID() != mLink.ReceiverID()) - mAffectedInstances << mLink.Receiver(); + mAffectedInstances.push_back(mLink.Receiver()); } void CAddLinkCommand::undo()