From ccc2a7996b836cd255fbb7d7f693f5b958442043 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 20 Jul 2020 16:00:20 +0200 Subject: BLI: add typedefs for containers that use raw allocators Those are useful when you have to create containers with static storage duration. If those would use Blender's guarded allocator, it would report memory leaks, that are not actually leaks. --- source/blender/functions/FN_multi_function_signature.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/functions') diff --git a/source/blender/functions/FN_multi_function_signature.hh b/source/blender/functions/FN_multi_function_signature.hh index 4ccceb39503..af5f61fe2ee 100644 --- a/source/blender/functions/FN_multi_function_signature.hh +++ b/source/blender/functions/FN_multi_function_signature.hh @@ -33,9 +33,9 @@ namespace blender::fn { struct MFSignature { std::string function_name; /* Use RawAllocator so that a MultiFunction can have static storage duration. */ - Vector param_names; - Vector param_types; - Vector param_data_indices; + RawVector param_names; + RawVector param_types; + RawVector param_data_indices; int data_index(int param_index) const { -- cgit v1.2.3