From 61e45974889afeace0ae4f705b6f14c304633966 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 13 May 2019 00:02:55 +0300 Subject: [PATCH] Removed include of fmt_helper from thrad_pool.h --- include/spdlog/details/thread_pool.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index 42761d7a..bf1b61e8 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -3,7 +3,6 @@ #pragma once -#include "spdlog/details/fmt_helper.h" #include "spdlog/details/log_msg.h" #include "spdlog/details/mpmc_blocking_q.h" #include "spdlog/details/os.h" @@ -86,7 +85,7 @@ struct async_msg , source(m.source) , worker_ptr(std::move(worker)) { - fmt_helper::append_string_view(m.payload, raw); + raw.append(m.payload.data(), m.payload.data() + m.payload.size()); } async_msg(async_logger_ptr &&worker, async_msg_type the_type)