mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Use 'contains' method
This commit is contained in:
@ -2388,7 +2388,7 @@ void NetPlayClient::RequestGolfControl()
|
||||
std::string NetPlayClient::GetCurrentGolfer()
|
||||
{
|
||||
std::lock_guard lkp(m_crit.players);
|
||||
if (m_players.count(m_current_golfer))
|
||||
if (m_players.contains(m_current_golfer))
|
||||
return m_players[m_current_golfer].name;
|
||||
return "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user