UICommon/NetPlayIndex: Allow move semantics in SetGame()

If the parameter is const, then a move won't actually be able to occur,
making the std::move non-functional. We can remove the const qualifier
to remedy this.
This commit is contained in:
Lioncash 2019-08-04 12:16:16 -04:00
parent 7f6abfb0bf
commit 5220922a22
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ void NetPlayIndex::SetPlayerCount(int player_count)
m_player_count = player_count;
}
void NetPlayIndex::SetGame(const std::string game)
void NetPlayIndex::SetGame(std::string game)
{
m_game = std::move(game);
}