Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Rechenmacher <ron.rechenmacher@scinovia.com>2020-04-19 06:44:13 +0300
committerRon Rechenmacher <ron.rechenmacher@scinovia.com>2020-04-19 06:44:13 +0300
commitfaaef7686d38c651510a4ef8307e94af33a80b04 (patch)
tree979fbee6761a14218628e7f746afa10e97d31302
parent9e6f5b6b2d3e317b6b3a0365293299c7d6950855 (diff)
pass log_time param by value
-rw-r--r--include/spdlog/logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h
index 4dba427a..67f808ba 100644
--- a/include/spdlog/logger.h
+++ b/include/spdlog/logger.h
@@ -147,7 +147,7 @@ public:
log(loc, lvl, string_view_t{msg});
}
- void log(log_clock::time_point &log_time, source_loc loc, level::level_enum lvl, string_view_t msg)
+ void log(log_clock::time_point log_time, source_loc loc, level::level_enum lvl, string_view_t msg)
{
bool log_enabled = should_log(lvl);
bool traceback_enabled = tracer_.enabled();