From af0f21da0fd4c16e48bdc537a603544ef6eafdb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abd=C3=B3=20Roig-Maranges?= Date: Sat, 9 Dec 2017 16:50:53 +0100 Subject: [PATCH] add missing inline in header-only mode (#626) --- include/fmt/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }