Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/functions/FN_multi_function_signature.hh')
-rw-r--r--source/blender/functions/FN_multi_function_signature.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/functions/FN_multi_function_signature.hh b/source/blender/functions/FN_multi_function_signature.hh
index 73e7b9bb18d..77a8ce14c03 100644
--- a/source/blender/functions/FN_multi_function_signature.hh
+++ b/source/blender/functions/FN_multi_function_signature.hh
@@ -33,9 +33,10 @@ namespace fn {
struct MFSignature {
std::string function_name;
- Vector<std::string> param_names;
- Vector<MFParamType> param_types;
- Vector<uint> param_data_indices;
+ /* Use RawAllocator so that a MultiFunction can have static storage duration. */
+ Vector<std::string, 4, RawAllocator> param_names;
+ Vector<MFParamType, 4, RawAllocator> param_types;
+ Vector<uint, 4, RawAllocator> param_data_indices;
uint data_index(uint param_index) const
{