mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 20:04:27 +02:00
fix: compilation fixed after previous commits
This commit is contained in:
@@ -1485,7 +1485,7 @@ template<QuantitySpec Q>
|
|||||||
return q;
|
return q;
|
||||||
} else if constexpr (requires { Q::_parent_; }) {
|
} else if constexpr (requires { Q::_parent_; }) {
|
||||||
return get_kind_tree_root(Q::_parent_);
|
return get_kind_tree_root(Q::_parent_);
|
||||||
} else if constexpr (DerivedQuantitySpecSpecialization<Q>) {
|
} else if constexpr (DerivedQuantitySpec<Q>) {
|
||||||
return expr_map<to_kind, derived_quantity_spec, struct dimensionless, type_list_of_quantity_spec_less>(q);
|
return expr_map<to_kind, derived_quantity_spec, struct dimensionless, type_list_of_quantity_spec_less>(q);
|
||||||
} else {
|
} else {
|
||||||
// root quantity
|
// root quantity
|
||||||
|
Reference in New Issue
Block a user