[Bf-blender-cvs] [54bbaa26de5] master: Cleanup: compile errors on macos

Jacques Lucke noreply at git.blender.org
Sun Mar 21 19:49:54 CET 2021


Commit: 54bbaa26de5e4e24c8f8c25015b701797ee5c59f
Author: Jacques Lucke
Date:   Sun Mar 21 19:49:29 2021 +0100
Branches: master
https://developer.blender.org/rB54bbaa26de5e4e24c8f8c25015b701797ee5c59f

Cleanup: compile errors on macos

===================================================================

M	source/blender/functions/FN_generic_virtual_array.hh
M	source/blender/functions/FN_generic_virtual_vector_array.hh

===================================================================

diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh
index c60476c4631..4f0d777bfe9 100644
--- a/source/blender/functions/FN_generic_virtual_array.hh
+++ b/source/blender/functions/FN_generic_virtual_array.hh
@@ -256,7 +256,7 @@ template<typename T> class VArrayForGVArray : public VArray<T> {
 
   Span<T> get_span_impl() const override
   {
-    return array_.get_span().typed<T>();
+    return array_.get_span().template typed<T>();
   }
 
   bool is_single_impl() const override
diff --git a/source/blender/functions/FN_generic_virtual_vector_array.hh b/source/blender/functions/FN_generic_virtual_vector_array.hh
index 22d1e5641e5..ef3f53b5c25 100644
--- a/source/blender/functions/FN_generic_virtual_vector_array.hh
+++ b/source/blender/functions/FN_generic_virtual_vector_array.hh
@@ -179,7 +179,7 @@ template<typename T> class VVectorArrayForGVVectorArray : public VVectorArray<T>
     return value;
   }
 
-  bool is_single_vector_impl() const
+  bool is_single_vector_impl() const override
   {
     return vector_array_.is_single_vector();
   }



More information about the Bf-blender-cvs mailing list