summaryrefslogtreecommitdiff
path: root/src/chatlogger.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-18 19:12:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-18 19:12:49 +0300
commitfc84c591bff151bbe1b18af144ad55d49ff1028e (patch)
tree3b2a1a7a0e1d231048571018dba8c356611ee7ff /src/chatlogger.h
parentf1812857720449697c9106a7a3776b7202258cb3 (diff)
downloadmanaplus-fc84c591bff151bbe1b18af144ad55d49ff1028e.tar.gz
manaplus-fc84c591bff151bbe1b18af144ad55d49ff1028e.tar.bz2
manaplus-fc84c591bff151bbe1b18af144ad55d49ff1028e.tar.xz
manaplus-fc84c591bff151bbe1b18af144ad55d49ff1028e.zip
Fix code style in chatlogger.
Diffstat (limited to 'src/chatlogger.h')
-rw-r--r--src/chatlogger.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/chatlogger.h b/src/chatlogger.h
index 421326e30..62ee4b2f7 100644
--- a/src/chatlogger.h
+++ b/src/chatlogger.h
@@ -50,8 +50,9 @@ class ChatLogger final
void log(std::string name, std::string str);
- void loadLast(std::string name, std::list<std::string> &list,
- const unsigned n) const;
+ void loadLast(std::string name,
+ std::list<std::string> &list,
+ const unsigned int n) const;
std::string getDir() const A_WARN_UNUSED;
@@ -72,7 +73,8 @@ class ChatLogger final
void setLogDir(const std::string &logDir);
- static void writeTo(std::ofstream &file, const std::string &str);
+ static void writeTo(std::ofstream &file,
+ const std::string &str);
std::ofstream mLogFile;
std::string mLogDir;