diff --git a/src/core/include/mp-units/quantity_spec.h b/src/core/include/mp-units/quantity_spec.h index 5f70d0343..c5741a749 100644 --- a/src/core/include/mp-units/quantity_spec.h +++ b/src/core/include/mp-units/quantity_spec.h @@ -424,7 +424,11 @@ struct quantity_spec : quantity_spec { */ template struct derived_quantity_spec : +#ifdef __cpp_explicit_this_parameter + detail::quantity_spec_interface, +#else detail::quantity_spec_interface>, +#endif detail::expr_fractions { using _base_ = detail::expr_fractions;