pass log_time param by value

This commit is contained in:
Ron Rechenmacher 2020-04-18 22:44:13 -05:00
parent 9e6f5b6b2d
commit faaef7686d

View File

@ -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();