CAddLinkCommand: Make use of push_back over operator<<

This commit is contained in:
Lioncash 2020-07-10 16:09:20 -04:00
parent 85fdbe709a
commit 07acac35c9
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ CAddLinkCommand::CAddLinkCommand(CWorldEditor *pEditor, CLink Link)
, mpEditor(pEditor) , mpEditor(pEditor)
, mLink(Link) , mLink(Link)
{ {
mAffectedInstances << mLink.Sender(); mAffectedInstances.push_back(mLink.Sender());
if (mLink.SenderID() != mLink.ReceiverID()) if (mLink.SenderID() != mLink.ReceiverID())
mAffectedInstances << mLink.Receiver(); mAffectedInstances.push_back(mLink.Receiver());
} }
void CAddLinkCommand::undo() void CAddLinkCommand::undo()