mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix Warning
QtCreator (4.9) Clang Code Model (Clang 7) gives the warning:core.h:404:11: error: an attribute list cannot appear here core.h:116:24: note: expanded from macro 'FMT_NORETURN'
This commit is contained in:
parent
d5d5865615
commit
e3488fcae2
@ -401,7 +401,7 @@ struct error_handler {
|
||||
FMT_CONSTEXPR error_handler(const error_handler&) {}
|
||||
|
||||
// This function is intentionally not constexpr to give a compile-time error.
|
||||
FMT_API FMT_NORETURN void on_error(const char* message);
|
||||
FMT_NORETURN FMT_API void on_error(const char* message);
|
||||
};
|
||||
} // namespace internal
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user