From 9b3bae0f056e9b48b8d717ec57f1a2b51292fd62 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 29 Oct 2024 14:49:02 +0100 Subject: [PATCH] fix: compilation fixed after previous commits --- src/core/include/mp-units/framework/quantity_spec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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