mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Merge pull request #7798 from ShFil119/impr/empty
Use empty instead of size
This commit is contained in:
commit
8d59d1bb11
28 changed files with 56 additions and 56 deletions
|
@ -347,7 +347,7 @@ unsigned int NetPlayServer::OnConnect(ENetPeer* socket, sf::Packet& rpac)
|
|||
Send(player.socket, spac);
|
||||
|
||||
// send new client the selected game
|
||||
if (m_selected_game != "")
|
||||
if (!m_selected_game.empty())
|
||||
{
|
||||
spac.clear();
|
||||
spac << static_cast<MessageId>(NP_MSG_CHANGE_GAME);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue