Commit 153c25db authored by gabime's avatar gabime

Update logger-inl.h

parent a1a6b7e6
...@@ -25,7 +25,7 @@ SPDLOG_INLINE logger::logger(const logger &other) ...@@ -25,7 +25,7 @@ SPDLOG_INLINE logger::logger(const logger &other)
{ {
if (other.tracer_) if (other.tracer_)
{ {
tracer_ = std::make_shared<details::backtracer>(other.tracer_->n_messages()); enable_backtrace(other.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