Comment up EQEmuLogSys class header. Change some string copys to rather pass by reference because its not necessary

This commit is contained in:
Akkadius
2015-01-22 01:44:52 -06:00
parent d8926861b6
commit 90653a9d17
2 changed files with 40 additions and 17 deletions
+2 -2
View File
@@ -248,7 +248,7 @@ uint16 EQEmuLogSys::GetGMSayColorFromCategory(uint16 log_category){
}
}
void EQEmuLogSys::ProcessConsoleMessage(uint16 debug_level, uint16 log_category, const std::string message)
void EQEmuLogSys::ProcessConsoleMessage(uint16 debug_level, uint16 log_category, std::string message)
{
/* Check if category enabled for process */
if (log_settings[log_category].log_to_console == 0)
@@ -312,7 +312,7 @@ void EQEmuLogSys::CloseFileLogs()
}
}
void EQEmuLogSys::StartFileLogs(const std::string log_name)
void EQEmuLogSys::StartFileLogs(std::string log_name)
{
EQEmuLogSys::CloseFileLogs();