summaryrefslogtreecommitdiff
path: root/src/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h4
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; }