mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +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&) {}
|
FMT_CONSTEXPR error_handler(const error_handler&) {}
|
||||||
|
|
||||||
// This function is intentionally not constexpr to give a compile-time error.
|
// 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
|
} // namespace internal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user