diff --git a/deps/ox/src/ox/model/types.hpp b/deps/ox/src/ox/model/types.hpp index 57e7ab7b..0dee14bf 100644 --- a/deps/ox/src/ox/model/types.hpp +++ b/deps/ox/src/ox/model/types.hpp @@ -25,7 +25,7 @@ namespace ox { template -constexpr bool isVector(const T&) noexcept { +constexpr bool isVector(const T*) noexcept { return false; } @@ -48,6 +48,9 @@ constexpr bool isVector(const QVector*) noexcept { } #endif +template +constexpr bool isVector_v = isVector(static_cast(nullptr)); + class SerStr { protected: