diff --git a/include/spdlog/logger-inl.h b/include/spdlog/logger-inl.h index c1e01657..d9d58c29 100644 --- a/include/spdlog/logger-inl.h +++ b/include/spdlog/logger-inl.h @@ -89,8 +89,7 @@ SPDLOG_INLINE void logger::set_formatter(std::unique_ptr f) { // last element - we can be move it. (*it)->set_formatter(std::move(f)); - - break; + break; // to prevent clang-tidy warning } else {