mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Use emplace_* functions where in-place construction is preferable
This commit is contained in:
parent
012a4c18ff
commit
e07679114b
12 changed files with 18 additions and 18 deletions
|
@ -101,7 +101,7 @@ void ReadReplacements(replace_v& replacements)
|
|||
std::string replacement;
|
||||
|
||||
while (f >> letter >> replacement && replacement.size())
|
||||
replacements.push_back(std::make_pair(letter, replacement));
|
||||
replacements.emplace_back(letter, replacement);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue