diff options
Diffstat (limited to 'src/zenhttp/include')
| -rw-r--r-- | src/zenhttp/include/zenhttp/formatters.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/include/zenhttp/formatters.h b/src/zenhttp/include/zenhttp/formatters.h index d45f5fbb2..538136238 100644 --- a/src/zenhttp/include/zenhttp/formatters.h +++ b/src/zenhttp/include/zenhttp/formatters.h @@ -19,7 +19,7 @@ struct fmt::formatter<cpr::Response> constexpr auto parse(format_parse_context& Ctx) -> decltype(Ctx.begin()) { return Ctx.end(); } template<typename FormatContext> - auto format(const cpr::Response& Response, FormatContext& Ctx) -> decltype(Ctx.out()) + auto format(const cpr::Response& Response, FormatContext& Ctx) const -> decltype(Ctx.out()) { using namespace std::literals; @@ -77,7 +77,7 @@ struct fmt::formatter<zen::HttpClient::Response> constexpr auto parse(format_parse_context& Ctx) -> decltype(Ctx.begin()) { return Ctx.end(); } template<typename FormatContext> - auto format(const zen::HttpClient::Response& Response, FormatContext& Ctx) -> decltype(Ctx.out()) + auto format(const zen::HttpClient::Response& Response, FormatContext& Ctx) const -> decltype(Ctx.out()) { using namespace std::literals; |