mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +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:
@@ -59,8 +59,8 @@ public:
|
||||
static void LockWorld() { if (_world_config) _world_config->Locked=true; }
|
||||
static void UnlockWorld() { if (_world_config) _world_config->Locked=false; }
|
||||
|
||||
static void SetWorldAddress(std::string addr) { if (_world_config) _world_config->WorldAddress=addr; }
|
||||
static void SetLocalAddress(std::string addr) { if (_world_config) _world_config->LocalAddress=addr; }
|
||||
static void SetWorldAddress(const std::string& addr) { if (_world_config) _world_config->WorldAddress=addr; }
|
||||
static void SetLocalAddress(const std::string& addr) { if (_world_config) _world_config->LocalAddress=addr; }
|
||||
|
||||
void Dump() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user