forked from fmtlib/fmt
Fix definition of error_handler::on_error
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user