Fix definition of error_handler::on_error

This commit is contained in:
Victor Zverovich 2022-05-27 10:49:19 -07:00
parent 652fea45a9
commit 4f9311e689

View File

@ -585,7 +585,7 @@ struct error_handler {
constexpr error_handler(const error_handler&) = default;
// This function is intentionally not constexpr to give a compile-time error.
FMT_NORETURN FMT_API void on_error(const char* message) {
FMT_NORETURN void on_error(const char* message) {
throw_format_error(message);
}
};