diff --git a/src/core/include/mp-units/framework/expression_template.h b/src/core/include/mp-units/framework/expression_template.h index 5195000c..565ad8f0 100644 --- a/src/core/include/mp-units/framework/expression_template.h +++ b/src/core/include/mp-units/framework/expression_template.h @@ -408,7 +408,7 @@ template typename To, typename OneType, template typename To, typename OneType, template typename Pred, typename Lhs, typename Rhs> -[[nodiscard]] consteval auto expr_divide(Lhs lhs, Rhs rhs) +[[nodiscard]] MP_UNITS_CONSTEVAL auto expr_divide(Lhs lhs, Rhs rhs) { if constexpr (is_same_v) { return OneType{};