mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
Changed sink_it_ to accept const log_message&
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user