mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 23:22:48 +00:00
yuzu: Resolve -Wpessimizing-move
This commit is contained in:
parent
bb31b0f261
commit
f51c71e956
|
@ -268,7 +268,7 @@ bool MultiplayerState::OnCloseRoom() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Save ban list
|
// Save ban list
|
||||||
UISettings::values.multiplayer_ban_list = std::move(room->GetBanList());
|
UISettings::values.multiplayer_ban_list = room->GetBanList();
|
||||||
|
|
||||||
room->Destroy();
|
room->Destroy();
|
||||||
announce_multiplayer_session->Stop();
|
announce_multiplayer_session->Stop();
|
||||||
|
|
Loading…
Reference in a new issue