From dc4b30d53a7eee3c06be4fa4a10b1c9c456fe026 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 28 Feb 2023 17:04:21 +0100 Subject: use Magnum::Math::IsVector --- entity/erased-constraints.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entity/erased-constraints.cpp') diff --git a/entity/erased-constraints.cpp b/entity/erased-constraints.cpp index 52bb784a..2c062bf1 100644 --- a/entity/erased-constraints.cpp +++ b/entity/erased-constraints.cpp @@ -19,7 +19,7 @@ template std::pair range::convert() const if (type == type_none) { - if constexpr (is_magnum_vector) + if constexpr (Math::IsVector()) { using U = typename T::Type; constexpr auto Size = T::Size; @@ -54,7 +54,7 @@ template std::pair range::convert() const } } } - else if constexpr(is_magnum_vector) + else if constexpr(Math::IsVector()) { using U = typename T::Type; constexpr auto Size = T::Size; -- cgit v1.2.3