diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-24 14:47:57 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-24 14:47:57 +0300 |
commit | 50ff45020288037169f499d373996d611c995c64 (patch) | |
tree | ad054232c36a34b548ff94d9f650c25d1748f23d /source/blender/functions | |
parent | 74fcb4d4c2f3c72747119a672c7e322f6f910478 (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.hh | 7 |
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 |