diff --git a/include/ircd/m/error.h b/include/ircd/m/error.h index 78b0e6b03..34890af9b 100644 --- a/include/ircd/m/error.h +++ b/include/ircd/m/error.h @@ -116,6 +116,7 @@ namespace ircd::m } template +inline ircd::m::error::error(const http::code &status, const string_view &errcode, const string_view &fmt, @@ -126,7 +127,10 @@ ircd::m::error::error(const http::code &status, { const string_view str { - fmt::sprintf{fmtbuf, fmt, std::forward(a)...} + fmt::sprintf + { + fmtbuf, fmt, std::forward(a)... + } }; return json::members @@ -138,6 +142,7 @@ ircd::m::error::error(const http::code &status, }{} template +inline ircd::m::error::error(const string_view &errcode, const string_view &fmt, args&&... a)