From 0120dcc787b818f2ce3207467e1c1515360f5385 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 29 Feb 2020 13:20:26 +0200 Subject: [PATCH] Update logger-inl.h --- include/spdlog/logger-inl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {