Update logger-inl.h

This commit is contained in:
gabime 2019-09-03 17:55:34 +03:00
parent a1a6b7e64f
commit 153c25dbb3
1 changed files with 1 additions and 1 deletions

View File

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