[Bf-blender-cvs] [3e44221b57d] master: Fix build error on macOS/clang
Brecht Van Lommel
noreply at git.blender.org
Mon Mar 22 16:06:21 CET 2021
Commit: 3e44221b57d105cd93599201fa1a5d6734232d87
Author: Brecht Van Lommel
Date: Mon Mar 22 15:14:51 2021 +0100
Branches: master
https://developer.blender.org/rB3e44221b57d105cd93599201fa1a5d6734232d87
Fix build error on macOS/clang
===================================================================
M source/blender/functions/FN_generic_virtual_array.hh
===================================================================
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh
index 4f0d777bfe9..c6230730a8d 100644
--- a/source/blender/functions/FN_generic_virtual_array.hh
+++ b/source/blender/functions/FN_generic_virtual_array.hh
@@ -238,7 +238,7 @@ template<typename T> class VArrayForGVArray : public VArray<T> {
public:
VArrayForGVArray(const GVArray &array) : VArray<T>(array.size()), array_(array)
{
- BLI_assert(array_.type().is<T>());
+ BLI_assert(array_.type().template is<T>());
}
protected:
More information about the Bf-blender-cvs
mailing list