Cleanup: can use guarded instead of raw allocator now

This commit is contained in:
Jacques Lucke 2020-07-24 13:47:57 +02:00
parent 74fcb4d4c2
commit 50ff450202
Notes: blender-bot 2023-02-14 18:48:59 +01:00
Referenced by issue blender/blender-addons#80599, Blender Cloud  folder text on the screen very small
1 changed files with 3 additions and 4 deletions

View File

@ -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