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:
Björn Schäpers 2019-06-24 14:13:16 +02:00 committed by Victor Zverovich
parent d5d5865615
commit e3488fcae2

View File

@ -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