diff options
-rw-r--r-- | source/blender/blenlib/BLI_math_vec_types.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_vec_types.hh b/source/blender/blenlib/BLI_math_vec_types.hh index 8e897870098..8d6f04ab15f 100644 --- a/source/blender/blenlib/BLI_math_vec_types.hh +++ b/source/blender/blenlib/BLI_math_vec_types.hh @@ -63,7 +63,7 @@ template<typename T> uint64_t vector_hash(const T &vec) template<typename T> inline bool is_any_zero(const T &a) { for (int i = 0; i < T::type_length; i++) { - if (a[i] == T::base_type(0)) { + if (a[i] == typename T::base_type(0)) { return true; } } |