mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 11:27:40 +00:00
Fix definition of error_handler::on_error
This commit is contained in:
parent
652fea45a9
commit
4f9311e689
@ -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);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user