Fix FMT_NOEXCEPT definition

This commit is contained in:
Victor Zverovich committed 2022-01-13 10:20:32 -08:00
1 parent c056a009de
commit 4fe6129d6c
1 file changed
+1 -6
+1 -6
View File
@@ -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