[Bf-blender-cvs] [b22a82869c8] functions: get rid of using TypeVector

Jacques Lucke noreply at git.blender.org
Tue Jul 2 18:38:58 CEST 2019


Commit: b22a82869c806ed021632e4b14b39d162fe5644e
Author: Jacques Lucke
Date:   Tue Jul 2 16:33:12 2019 +0200
Branches: functions
https://developer.blender.org/rBb22a82869c806ed021632e4b14b39d162fe5644e

get rid of using TypeVector

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

M	source/blender/functions/backends/tuple/tuple.hpp
M	source/blender/functions/core/type.hpp

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

diff --git a/source/blender/functions/backends/tuple/tuple.hpp b/source/blender/functions/backends/tuple/tuple.hpp
index 2ac04b0c9f4..f66c121e54a 100644
--- a/source/blender/functions/backends/tuple/tuple.hpp
+++ b/source/blender/functions/backends/tuple/tuple.hpp
@@ -6,7 +6,7 @@ namespace FN {
 
 class TupleMeta : public RefCountedBase {
  private:
-  TypeVector m_types;
+  SmallVector<SharedType> m_types;
   SmallVector<CPPTypeInfo *> m_type_info;
   SmallVector<uint> m_offsets;
   uint m_size__data;
diff --git a/source/blender/functions/core/type.hpp b/source/blender/functions/core/type.hpp
index 2a4f137207e..1e74b2b6279 100644
--- a/source/blender/functions/core/type.hpp
+++ b/source/blender/functions/core/type.hpp
@@ -90,7 +90,6 @@ class Type final : public RefCountedBase {
 };
 
 using SharedType = AutoRefCount<Type>;
-using TypeVector = SmallVector<SharedType>;
 
 } /* namespace FN */



More information about the Bf-blender-cvs mailing list