diff options
| author | JosJuice <josjuice@gmail.com> | 2017-06-27 10:21:33 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-06-27 10:21:33 +0200 |
| commit | 7d801d61dcc71e8f81e6d022e0c60ece2c5a7456 (patch) | |
| tree | e23f50cdc726eb057aab3a0c36f97a9fefdd06cb /Source/Core/DolphinWX/ISOFile.cpp | |
| parent | 0ac1562fbdbc122b316570ec58c4b3681c2b5fda (diff) | |
DolphinWX: Use std::move when committing in GameListItem
Diffstat (limited to 'Source/Core/DolphinWX/ISOFile.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/ISOFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp index 48359e1485..3b607e8cf2 100644 --- a/Source/Core/DolphinWX/ISOFile.cpp +++ b/Source/Core/DolphinWX/ISOFile.cpp @@ -150,7 +150,7 @@ bool GameListItem::CustomNameChanged(const Core::TitleDatabase& title_database) void GameListItem::CustomNameCommit() { - m_custom_name = m_pending.custom_name; + m_custom_name = std::move(m_pending.custom_name); } bool GameListItem::EmuStateChanged() @@ -163,7 +163,7 @@ bool GameListItem::EmuStateChanged() void GameListItem::EmuStateCommit() { - m_emu_state = m_pending.emu_state; + m_emu_state = std::move(m_pending.emu_state); } void GameListItem::EmuState::DoState(PointerWrap& p) |
