summaryrefslogtreecommitdiffhomepage
path: root/entity/erased-constraints.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-28 17:04:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-28 17:04:21 +0100
commitdc4b30d53a7eee3c06be4fa4a10b1c9c456fe026 (patch)
tree9271547c54a8e5a49088ec981863ab77d9988b5b /entity/erased-constraints.cpp
parent92f6c13f52a831af72314cfbeaae90b560c7320f (diff)
use Magnum::Math::IsVector
Diffstat (limited to 'entity/erased-constraints.cpp')
-rw-r--r--entity/erased-constraints.cpp4
1 files changed, 2 insertions, 2 deletions
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<typename T> std::pair<T, T> range::convert() const
if (type == type_none)
{
- if constexpr (is_magnum_vector<T>)
+ if constexpr (Math::IsVector<T>())
{
using U = typename T::Type;
constexpr auto Size = T::Size;
@@ -54,7 +54,7 @@ template<typename T> std::pair<T, T> range::convert() const
}
}
}
- else if constexpr(is_magnum_vector<T>)
+ else if constexpr(Math::IsVector<T>())
{
using U = typename T::Type;
constexpr auto Size = T::Size;