Use emplace_* functions where in-place construction is preferable

This commit is contained in:
Lioncash
2015-02-04 10:36:42 -05:00
parent 012a4c18ff
commit e07679114b
12 changed files with 18 additions and 18 deletions

View File

@ -175,7 +175,7 @@ bool AnalyzeFunction(u32 startAddr, Symbol &func, int max_size)
if (target != INVALID_TARGET && instr.LK)
{
//we found a branch-n-link!
func.calls.push_back(SCall(target,addr));
func.calls.emplace_back(target, addr);
func.flags &= ~FFLAG_LEAF;
}
}