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:
authorJacques Lucke <jacques@blender.org>2020-07-24 14:47:57 +0300
committerJacques Lucke <jacques@blender.org>2020-07-24 14:47:57 +0300
commit50ff45020288037169f499d373996d611c995c64 (patch)
treead054232c36a34b548ff94d9f650c25d1748f23d /source/blender/functions
parent74fcb4d4c2f3c72747119a672c7e322f6f910478 (diff)
Cleanup: can use guarded instead of raw allocator now
Diffstat (limited to 'source/blender/functions')
-rw-r--r--source/blender/functions/FN_multi_function_signature.hh7
1 files changed, 3 insertions, 4 deletions
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