Changed sink_it_ to accept const log_message&

This commit is contained in:
gabime
2019-08-22 19:57:59 +03:00
parent 7e728869cc
commit 0284a23d0a
6 changed files with 7 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ SPDLOG_INLINE spdlog::async_logger::async_logger(
{}
// send the log message to the thread pool
SPDLOG_INLINE void spdlog::async_logger::sink_it_(details::log_msg &msg)
SPDLOG_INLINE void spdlog::async_logger::sink_it_(const details::log_msg &msg)
{
if (auto pool_ptr = thread_pool_.lock())
{