diff --git a/libs/math/include/psemek/math/swizzle.hpp b/libs/math/include/psemek/math/swizzle.hpp index a60e5f0e..d2232c9f 100644 --- a/libs/math/include/psemek/math/swizzle.hpp +++ b/libs/math/include/psemek/math/swizzle.hpp @@ -24,7 +24,7 @@ namespace psemek::math #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Warray-bounds" - template + template constexpr auto swizzle = [](auto const & x){ static_assert(((I == -1 || I < std::decay_t::static_dimension) && ...)); using result = typename detail::swizzle_rebind>::template type;