diff --git a/src/core/include/mp-units/framework/quantity_spec.h b/src/core/include/mp-units/framework/quantity_spec.h index 17e3cd96..f086e703 100644 --- a/src/core/include/mp-units/framework/quantity_spec.h +++ b/src/core/include/mp-units/framework/quantity_spec.h @@ -1485,7 +1485,7 @@ template return q; } else if constexpr (requires { Q::_parent_; }) { return get_kind_tree_root(Q::_parent_); - } else if constexpr (DerivedQuantitySpecSpecialization) { + } else if constexpr (DerivedQuantitySpec) { return expr_map(q); } else { // root quantity