diff --git a/include/fmt/format.cc b/include/fmt/format.cc index ad05af2c..e9b590a5 100644 --- a/include/fmt/format.cc +++ b/include/fmt/format.cc @@ -405,7 +405,7 @@ void basic_fixed_buffer::grow(std::size_t) { FMT_THROW(std::runtime_error("buffer overflow")); } -void internal::error_handler::on_error(const char *message) { +FMT_FUNC void internal::error_handler::on_error(const char *message) { FMT_THROW(format_error(message)); }