From 45af29da8095af16729955117a165d23e77cd740 Mon Sep 17 00:00:00 2001 From: reduz Date: Thu, 19 May 2022 17:00:06 +0200 Subject: Add a new HashSet template * Intended to replace RBSet in most cases. * Optimized for iteration speed --- editor/editor_folding.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editor/editor_folding.h') diff --git a/editor/editor_folding.h b/editor/editor_folding.h index 22df06280a..9a2aa37b80 100644 --- a/editor/editor_folding.h +++ b/editor/editor_folding.h @@ -37,10 +37,10 @@ class EditorFolding { Vector _get_unfolds(const Object *p_object); void _set_unfolds(Object *p_object, const Vector &p_unfolds); - void _fill_folds(const Node *p_root, const Node *p_node, Array &p_folds, Array &resource_folds, Array &nodes_folded, RBSet> &resources); + void _fill_folds(const Node *p_root, const Node *p_node, Array &p_folds, Array &resource_folds, Array &nodes_folded, HashSet> &resources); - void _do_object_unfolds(Object *p_object, RBSet> &resources); - void _do_node_unfolds(Node *p_root, Node *p_node, RBSet> &resources); + void _do_object_unfolds(Object *p_object, HashSet> &resources); + void _do_node_unfolds(Node *p_root, Node *p_node, HashSet> &resources); public: void save_resource_folding(const Ref &p_resource, const String &p_path); -- cgit v1.2.3