diff --git a/src/core/include/mp-units/format.h b/src/core/include/mp-units/format.h index 74f57580..18b1e5c8 100644 --- a/src/core/include/mp-units/format.h +++ b/src/core/include/mp-units/format.h @@ -265,7 +265,11 @@ public: // subentity-id ::= 'N' | 'U' | 'D' // format-spec ::= // +#if __cpp_lib_format_ranges template Rep> +#else +template +#endif class MP_UNITS_STD_FMT::formatter, Char> { static constexpr auto unit = get_unit(Reference); static constexpr auto dimension = get_quantity_spec(Reference).dimension;