mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 01:18:17 +00:00
[Performance] Change to use Pass by reference where valid. (#3163)
* [Performance] Change to use Pass by reference where valid. * typo
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ void Adventure::RemovePlayer(std::string character_name)
|
||||
}
|
||||
}
|
||||
|
||||
bool Adventure::PlayerExists(std::string character_name)
|
||||
bool Adventure::PlayerExists(const std::string& character_name)
|
||||
{
|
||||
auto iter = players.begin();
|
||||
while(iter != players.end())
|
||||
|
||||
Reference in New Issue
Block a user