diff options
author | Jacques Lucke <jacques@blender.org> | 2021-03-07 20:05:25 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-03-07 20:05:25 +0300 |
commit | 239a7d93ae04a7b9adb802dc81e5636c5735f53d (patch) | |
tree | 1900184ba97418bd32ea5e6480636ecf5e8a03cb | |
parent | 74979459cbbe4ec5bf7014a511775b5274b20060 (diff) |
Cleanup: fix compiler warning
-rw-r--r-- | source/blender/nodes/intern/derived_node_tree.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/derived_node_tree.cc b/source/blender/nodes/intern/derived_node_tree.cc index c20d6fa943e..c5f267470fd 100644 --- a/source/blender/nodes/intern/derived_node_tree.cc +++ b/source/blender/nodes/intern/derived_node_tree.cc @@ -35,7 +35,7 @@ DTreeContext &DerivedNodeTree::construct_context_recursively(DTreeContext *paren bNodeTree &btree, NodeTreeRefMap &node_tree_refs) { - DTreeContext &context = *allocator_.construct<DTreeContext>(); + DTreeContext &context = *allocator_.construct<DTreeContext>().release(); context.parent_context_ = parent_context; context.parent_node_ = parent_node; context.tree_ = &get_tree_ref_from_map(node_tree_refs, btree); |