diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-02-04 10:36:42 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-02-04 11:39:08 -0500 |
| commit | e07679114bf33e387c2d4094cac3174650def0e5 (patch) | |
| tree | 66a99498482b3bec7e703cfc011cd4036d190b62 /Source/Core/DolphinWX/PatchAddEdit.cpp | |
| parent | 012a4c18ff9b8beeaafcf3e24846761e5c194a42 (diff) | |
Use emplace_* functions where in-place construction is preferable
Diffstat (limited to 'Source/Core/DolphinWX/PatchAddEdit.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PatchAddEdit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp index 9a403ff8f9..6b02f252e0 100644 --- a/Source/Core/DolphinWX/PatchAddEdit.cpp +++ b/Source/Core/DolphinWX/PatchAddEdit.cpp @@ -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 { |
