mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-13 03:29:24 +00:00
Use empty instead of size
This commit is contained in:
parent
363ce67459
commit
49fe9f5db1
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