use insert instead []

This commit is contained in:
orignal 2015-02-10 16:51:47 -05:00
parent 3263f6fefc
commit 9eba7923a7
2 changed files with 2 additions and 2 deletions

View file

@ -418,7 +418,7 @@ namespace transport
}
}
else // incoming connection
m_Peers[ident] = { 0, nullptr, session };
m_Peers.insert (std::make_pair (ident, Peer{ 0, nullptr, session }));
});
}