summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.h b/src/Log.h
index 3a588f4..bf1d5e4 100644
--- a/src/Log.h
+++ b/src/Log.h
@@ -134,7 +134,7 @@ class LogTracer : public LogBackend {
class LogLine;
struct log_message_t {
- log_message_t(log_level_t _level, std::string _message) :
+ log_message_t(log_level_t _level, const std::string& _message) :
level(_level),
message(_message) {}