[Bf-blender-cvs] [50ff4502028] master: Cleanup: can use guarded instead of raw allocator now
Jacques Lucke
noreply at git.blender.org
Fri Jul 24 13:48:13 CEST 2020
Commit: 50ff45020288037169f499d373996d611c995c64
Author: Jacques Lucke
Date: Fri Jul 24 13:47:57 2020 +0200
Branches: master
https://developer.blender.org/rB50ff45020288037169f499d373996d611c995c64
Cleanup: can use guarded instead of raw allocator now
===================================================================
M source/blender/functions/FN_multi_function_signature.hh
===================================================================
diff --git a/source/blender/functions/FN_multi_function_signature.hh b/source/blender/functions/FN_multi_function_signature.hh
index ba79dddff16..3c09d1c961c 100644
--- a/source/blender/functions/FN_multi_function_signature.hh
+++ b/source/blender/functions/FN_multi_function_signature.hh
@@ -32,10 +32,9 @@ namespace blender::fn {
struct MFSignature {
std::string function_name;
- /* Use RawAllocator so that a MultiFunction can have static storage duration. */
- RawVector<std::string> param_names;
- RawVector<MFParamType> param_types;
- RawVector<int> param_data_indices;
+ Vector<std::string> param_names;
+ Vector<MFParamType> param_types;
+ Vector<int> param_data_indices;
bool depends_on_context = false;
int data_index(int param_index) const
More information about the Bf-blender-cvs
mailing list