diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_node_ui_storage.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_node_ui_storage.hh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/blenkernel/BKE_node_ui_storage.hh b/source/blender/blenkernel/BKE_node_ui_storage.hh index 8bf89cd8f58..4ec165aad8c 100644 --- a/source/blender/blenkernel/BKE_node_ui_storage.hh +++ b/source/blender/blenkernel/BKE_node_ui_storage.hh @@ -95,21 +95,13 @@ struct AvailableAttributeInfo { }; struct NodeUIStorage { - std::mutex mutex; blender::Vector<NodeWarning> warnings; blender::Set<AvailableAttributeInfo> attribute_hints; - - NodeUIStorage() = default; - /* Needed because the mutex can't be moved or copied. */ - NodeUIStorage(NodeUIStorage &&other) - : warnings(std::move(other.warnings)), attribute_hints(std::move(other.attribute_hints)) - { - } }; struct NodeTreeUIStorage { + std::mutex mutex; blender::Map<NodeTreeEvaluationContext, blender::Map<std::string, NodeUIStorage>> context_map; - std::mutex context_map_mutex; /** * Attribute search uses this to store the fake info for the string typed into a node, in order |