diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-28 21:17:12 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-10-28 21:17:12 +0200 |
commit | c103f471beb239ed12e26ac5d95cc8cb3034feca (patch) | |
tree | 50fb572ec97a0b545544f5547977b78c555c972c /src | |
parent | b66f212cdce336a024244a7278b557e0daffe39e (diff) | |
download | dabmod-c103f471beb239ed12e26ac5d95cc8cb3034feca.tar.gz dabmod-c103f471beb239ed12e26ac5d95cc8cb3034feca.tar.bz2 dabmod-c103f471beb239ed12e26ac5d95cc8cb3034feca.zip |
Avoid a copy when constructing a log_message_t
Diffstat (limited to 'src')
-rw-r--r-- | src/Log.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) {} |