Use emplace() instead of insert() where applicable for maps.

This commit is contained in:
Lioncash
2015-06-28 19:08:28 -04:00
parent 1120132d26
commit daa205990f
12 changed files with 41 additions and 30 deletions

View File

@ -136,7 +136,7 @@ using namespace Gen;
{
for (const auto& e : b.linkData)
{
links_to.insert(std::pair<u32, int>(e.exitAddress, block_num));
links_to.emplace(e.exitAddress, block_num);
}
LinkBlock(block_num);