From 27b7be63bf6773e0ce482239a0b0b4b060571be4 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 2 Feb 2026 11:40:58 -0800 Subject: [PATCH] Remove unnecessary pragmas --- include/fmt/base.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 221f2a85..beaa835c 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -229,7 +229,6 @@ FMT_PRAGMA_GCC(push_options) #if !defined(__OPTIMIZE__) && !defined(__CUDACC__) && !defined(FMT_MODULE) FMT_PRAGMA_GCC(optimize("Og")) #endif -FMT_PRAGMA_CLANG(diagnostic push) #ifdef FMT_DEPRECATED // Use the provided definition. @@ -2870,7 +2869,6 @@ FMT_INLINE void println(format_string fmt, T&&... args) { fmt::println(stdout, fmt, static_cast(args)...); } -FMT_PRAGMA_CLANG(diagnostic pop) FMT_PRAGMA_GCC(pop_options) FMT_END_EXPORT FMT_END_NAMESPACE