From bc7e80c7ae1094947942545cc6440d74a25922fb Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 21 Oct 2023 13:48:19 +0300 Subject: [PATCH] Removed include null_mutex.h from common.h --- include/spdlog/common.h | 1 - include/spdlog/sinks/stdout_sinks.h | 1 + src/sinks/base_sink.cpp | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 5544e210..1f09040b 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -15,7 +15,6 @@ #include #include -#include "details/null_mutex.h" #include "source_loc.h" #include "tweakme.h" diff --git a/include/spdlog/sinks/stdout_sinks.h b/include/spdlog/sinks/stdout_sinks.h index 871fc8ee..d5034a5d 100644 --- a/include/spdlog/sinks/stdout_sinks.h +++ b/include/spdlog/sinks/stdout_sinks.h @@ -6,6 +6,7 @@ #include #include "../details/synchronous_factory.h" +#include "../details/null_mutex.h" #include "base_sink.h" #include "sink.h" diff --git a/src/sinks/base_sink.cpp b/src/sinks/base_sink.cpp index 2275d5db..8d1326ed 100644 --- a/src/sinks/base_sink.cpp +++ b/src/sinks/base_sink.cpp @@ -8,6 +8,7 @@ #include "spdlog/common.h" #include "spdlog/pattern_formatter.h" +#include "spdlog/details/null_mutex.h" template spdlog::sinks::base_sink::base_sink()