diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-09 17:56:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-09 17:56:49 +0300 |
commit | d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e (patch) | |
tree | c6aa4dcd9aa6597fc2b4d2a96a8d79ceddd2f764 /src/logger.h | |
parent | b6ed79b708090b81eddf48c1425f31f5f10c7494 (diff) | |
download | mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.tar.gz mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.tar.bz2 mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.tar.xz mv-d9973824af73a1c4d4ccc3ae814639d6cfbb7e1e.zip |
Improve logger class.
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.h b/src/logger.h index f67ec55d1..6fb9fe5d8 100644 --- a/src/logger.h +++ b/src/logger.h @@ -88,12 +88,12 @@ class Logger final /** * Enters a message in the log. The message will be timestamped. */ - void log(std::string str); + void log(const std::string &str); /** * Enters debug message in the log. The message will be timestamped. */ - void dlog(std::string str); + void dlog(const std::string &str); void setDebugLog(const bool n) { mDebugLog = n; } |