Removed include of fmt_helper from thrad_pool.h

This commit is contained in:
gabime 2019-05-13 00:02:55 +03:00
parent 26a064ed2d
commit 61e4597488

View File

@ -3,7 +3,6 @@
#pragma once #pragma once
#include "spdlog/details/fmt_helper.h"
#include "spdlog/details/log_msg.h" #include "spdlog/details/log_msg.h"
#include "spdlog/details/mpmc_blocking_q.h" #include "spdlog/details/mpmc_blocking_q.h"
#include "spdlog/details/os.h" #include "spdlog/details/os.h"
@ -86,7 +85,7 @@ struct async_msg
, source(m.source) , source(m.source)
, worker_ptr(std::move(worker)) , 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) async_msg(async_logger_ptr &&worker, async_msg_type the_type)