Commit 3fd3c47e authored by gabime's avatar gabime

Update logger-inl.h

parent 153c25db
...@@ -22,10 +22,11 @@ SPDLOG_INLINE logger::logger(const logger &other) ...@@ -22,10 +22,11 @@ SPDLOG_INLINE logger::logger(const logger &other)
, level_(other.level_.load(std::memory_order_relaxed)) , level_(other.level_.load(std::memory_order_relaxed))
, flush_level_(other.flush_level_.load(std::memory_order_relaxed)) , flush_level_(other.flush_level_.load(std::memory_order_relaxed))
, custom_err_handler_(other.custom_err_handler_) , custom_err_handler_(other.custom_err_handler_)
, tracer_(other.tracer_)
{ {
if (other.tracer_) if (tracer_)
{ {
enable_backtrace(other.tracer_->n_messages()); enable_backtrace(tracer_->n_messages());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment