From 2bdddc61e8b033f8ecfeb4975688c3b5cf9fc0de Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 29 Sep 2023 00:23:08 +0300 Subject: [PATCH] minor cleanup --- bench/async_bench.cpp | 8 -------- include/spdlog/details/registry.h | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/bench/async_bench.cpp b/bench/async_bench.cpp index e813e5a3..e14850f9 100644 --- a/bench/async_bench.cpp +++ b/bench/async_bench.cpp @@ -10,14 +10,6 @@ #include "spdlog/sinks/basic_file_sink.h" #include "spdlog/spdlog.h" -#if defined(SPDLOG_USE_STD_FORMAT) - #include -#elif defined(SPDLOG_FMT_EXTERNAL) - #include -#else - #include "spdlog/fmt/bundled/format.h" -#endif - #include #include #include diff --git a/include/spdlog/details/registry.h b/include/spdlog/details/registry.h index c2cd7095..6f6a36a6 100644 --- a/include/spdlog/details/registry.h +++ b/include/spdlog/details/registry.h @@ -5,7 +5,7 @@ // Loggers registry of unique name->logger pointer // An attempt to create a logger with an already existing name will result with spdlog_ex exception. -// If user requests a non existing logger, nullptr will be returned +// If user requests a non-existing logger, nullptr will be returned // This class is thread safe #include