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
|
@ -48,7 +48,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection)
|
|||
if (_selection == -1)
|
||||
{
|
||||
tempEntries.clear();
|
||||
tempEntries.push_back(PatchEngine::PatchEntry(PatchEngine::PATCH_8BIT, 0x00000000, 0x00000000));
|
||||
tempEntries.emplace_back(PatchEngine::PATCH_8BIT, 0x00000000, 0x00000000);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue