diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-02-16 16:40:01 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-02-16 16:40:14 +0300 |
commit | a6267f11678f7f5d05c50542945faad62a4e5c13 (patch) | |
tree | 36bc4c96aca45a78224e1918c2a9fb54c9a90975 /source/blender/blenlib/BLI_math_vec_types.hh | |
parent | 3f0e63fcca02c6fbdc2fdafa408fc36dcf451e45 (diff) |
BLI: Fix compilation error caused by rBa9f023e22638
Explicitly referencing the typename fixes the issue.
Diffstat (limited to 'source/blender/blenlib/BLI_math_vec_types.hh')
-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; } } |