diff --git a/include/spdlog/sinks/ansicolor_sink-inl.h b/include/spdlog/sinks/ansicolor_sink-inl.h index a75dfa10..288aeced 100644 --- a/include/spdlog/sinks/ansicolor_sink-inl.h +++ b/include/spdlog/sinks/ansicolor_sink-inl.h @@ -7,7 +7,7 @@ #include #endif -#include +#include #include namespace spdlog { diff --git a/tests/test_pattern_formatter.cpp b/tests/test_pattern_formatter.cpp index 42ce40e7..720241fe 100644 --- a/tests/test_pattern_formatter.cpp +++ b/tests/test_pattern_formatter.cpp @@ -308,9 +308,7 @@ TEST_CASE("clone-formatter-2", "[pattern_formatter]") class custom_test_flag : public spdlog::custom_flag_formatter { public: - class custom_test_flag(std::string txt) - : some_txt{std::move(txt)} - {} + custom_test_flag(std::string txt) : some_txt{std::move(txt)} {} void format(const spdlog::details::log_msg &, const std::tm &, spdlog::memory_buf_t &dest) override {