diff --git a/include/fmt/format.h b/include/fmt/format.h index fbaecad1..835fc1e9 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3216,7 +3216,7 @@ basic_format_context::arg(basic_string_view name) { } template -inline void advance_to(basic_parse_context& ctx, +FMT_CONSTEXPR inline void advance_to(basic_parse_context& ctx, const Char* p) { ctx.advance_to(ctx.begin() + (p - &*ctx.begin())); }