mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-23 15:03:47 +00:00
CAddLinkCommand: Make use of push_back over operator<<
This commit is contained in:
parent
85fdbe709a
commit
07acac35c9
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user