mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 11:26:35 +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
@@ -147,7 +147,7 @@ public:
|
||||
void AddRaidLooter(const char* looter);
|
||||
void RemoveRaidLooter(const char* looter);
|
||||
|
||||
inline void SetRaidMOTD(std::string in_motd) { motd = in_motd; };
|
||||
inline void SetRaidMOTD(const std::string& in_motd) { motd = in_motd; };
|
||||
|
||||
//util func
|
||||
//keeps me from having to keep iterating through the list
|
||||
|
||||
Reference in New Issue
Block a user