From 4fe6129d6c6fb88e5ac80d2aaaaeb87fa08c47d7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 13 Jan 2022 10:20:32 -0800 Subject: [PATCH] Fix FMT_NOEXCEPT definition --- include/fmt/core.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 08596f5b..f2d21e5c 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -144,13 +144,8 @@ # define FMT_EXCEPTIONS 1 # endif #endif - #ifndef FMT_NOEXCEPT -# if FMT_EXCEPTIONS -# define FMT_NOEXCEPT noexcept -# else -# define FMT_NOEXCEPT -# endif +# define FMT_NOEXCEPT noexcept #endif // [[noreturn]] is disabled on MSVC and NVCC because of bogus unreachable code