mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
[6899] Pass const reference instead of value for some strings in some functions.
Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
d386a67d27
commit
0f12997ef1
40 changed files with 108 additions and 108 deletions
|
|
@ -82,7 +82,7 @@ class Log : public MaNGOS::Singleton<Log, MaNGOS::ClassLevelLockable<Log, ZThrea
|
|||
}
|
||||
public:
|
||||
void Initialize();
|
||||
void InitColors(std::string init_str);
|
||||
void InitColors(const std::string& init_str);
|
||||
void outTitle( const char * str);
|
||||
void outCommand( uint32 account, const char * str, ...) ATTR_PRINTF(3,4);
|
||||
void outString(); // any log level
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue