mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-17 08:45:25 -04:00
Fix FMT_NOEXCEPT definition
This commit is contained in:
parent
c056a009de
commit
4fe6129d6c
@ -144,13 +144,8 @@
|
|||||||
# define FMT_EXCEPTIONS 1
|
# define FMT_EXCEPTIONS 1
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FMT_NOEXCEPT
|
#ifndef FMT_NOEXCEPT
|
||||||
# if FMT_EXCEPTIONS
|
|
||||||
# define FMT_NOEXCEPT noexcept
|
# define FMT_NOEXCEPT noexcept
|
||||||
# else
|
|
||||||
# define FMT_NOEXCEPT
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// [[noreturn]] is disabled on MSVC and NVCC because of bogus unreachable code
|
// [[noreturn]] is disabled on MSVC and NVCC because of bogus unreachable code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user