summaryrefslogtreecommitdiffstats
path: root/editor/editor_feature_profile.h
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2022-05-19 17:00:06 +0200
committerreduz <reduzio@gmail.com>2022-05-20 22:40:38 +0200
commit45af29da8095af16729955117a165d23e77cd740 (patch)
tree0436c59187702466a73d05caf9688a58e5935afd /editor/editor_feature_profile.h
parent410893ad0fb6f0d7d774b6529581d886defd6cf0 (diff)
downloadredot-engine-45af29da8095af16729955117a165d23e77cd740.tar.gz
Add a new HashSet template
* Intended to replace RBSet in most cases. * Optimized for iteration speed
Diffstat (limited to 'editor/editor_feature_profile.h')
-rw-r--r--editor/editor_feature_profile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_feature_profile.h b/editor/editor_feature_profile.h
index 479baf5205..dab6c951e4 100644
--- a/editor/editor_feature_profile.h
+++ b/editor/editor_feature_profile.h
@@ -56,11 +56,11 @@ public:
};
private:
- RBSet<StringName> disabled_classes;
- RBSet<StringName> disabled_editors;
- HashMap<StringName, RBSet<StringName>> disabled_properties;
+ HashSet<StringName> disabled_classes;
+ HashSet<StringName> disabled_editors;
+ HashMap<StringName, HashSet<StringName>> disabled_properties;
- RBSet<StringName> collapsed_classes;
+ HashSet<StringName> collapsed_classes;
bool features_disabled[FEATURE_MAX];
static const char *feature_names[FEATURE_MAX];