summaryrefslogtreecommitdiff
path: root/src/chatlogger.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/chatlogger.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadmanaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
manaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
manaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
manaverse-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/chatlogger.h')
-rw-r--r--src/chatlogger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chatlogger.h b/src/chatlogger.h
index c95cea7fe..ae0e21388 100644
--- a/src/chatlogger.h
+++ b/src/chatlogger.h
@@ -55,7 +55,7 @@ class ChatLogger final
std::string getDir() const A_WARN_UNUSED;
- std::string secureName(std::string &str) const;
+ static std::string secureName(std::string &str);
void setServerName(const std::string &serverName);
@@ -72,7 +72,7 @@ class ChatLogger final
void setLogDir(const std::string &logDir);
- void writeTo(std::ofstream &file, const std::string &str) const;
+ static void writeTo(std::ofstream &file, const std::string &str);
std::ofstream mLogFile;
std::string mLogDir;