Removed unneeded includes to pattern_foramtter.h

pull/2143/head
Your Full Name 4 years ago committed by gabime
parent 83ac079227
commit 0300c72bf7

@ -9,7 +9,6 @@
#include <spdlog/sinks/sink.h>
#include <spdlog/details/backtracer.h>
#include <spdlog/pattern_formatter.h>
#include <cstdio>

@ -6,7 +6,6 @@
#include "base_sink.h"
#include <spdlog/details/log_msg.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/pattern_formatter.h>
#include <algorithm>
#include <memory>

@ -11,7 +11,7 @@
#include <wincon.h>
#include <spdlog/common.h>
#include <spdlog/pattern_formatter.h>
#include <spdlog/default_formatter.h>
namespace spdlog {
namespace sinks {
@ -19,7 +19,7 @@ template<typename ConsoleMutex>
SPDLOG_INLINE wincolor_sink<ConsoleMutex>::wincolor_sink(void *out_handle, color_mode mode)
: out_handle_(out_handle)
, mutex_(ConsoleMutex::mutex())
, formatter_(details::make_unique<spdlog::pattern_formatter>())
, formatter_(details::make_unique<spdlog::default_formatter>())
{
set_color_mode_impl(mode);

@ -8,7 +8,6 @@
#endif
#include <spdlog/common.h>
#include <spdlog/pattern_formatter.h>
namespace spdlog {

Loading…
Cancel
Save