mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Update logger-inl.h
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user