mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-24 04:12:48 -06:00
Use emplace_* functions where in-place construction is preferable
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user