mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-07 17:41:11 +00:00
Feedback
This commit is contained in:
parent
c97c0fbbc9
commit
80d1dd29b7
@ -67,7 +67,7 @@ using fmt::internal::Arg;
|
||||
# if FMT_EXCEPTIONS
|
||||
# define FMT_THROW(x) throw x
|
||||
# else
|
||||
# ifdef DEBUG
|
||||
# ifndef NDEBUG
|
||||
# define FMT_THROW(x) assert(false && #x)
|
||||
# elif defined _MSC_VER
|
||||
# define FMT_THROW(x) __assume(0)
|
||||
@ -84,6 +84,8 @@ using fmt::internal::Arg;
|
||||
# define FMT_NORETURN __attribute__((__noreturn__))
|
||||
# elif defined _MSC_VER
|
||||
# define FMT_NORETURN __declspec(noreturn)
|
||||
# else
|
||||
# define FMT_NORETURN
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user