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 --- platform/uwp/export/app_packager.h | 2 +- platform/uwp/export/export_plugin.cpp | 2 +- platform/uwp/export/export_plugin.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'platform/uwp') diff --git a/platform/uwp/export/app_packager.h b/platform/uwp/export/app_packager.h index 430f42d85f..dc5a5259ec 100644 --- a/platform/uwp/export/app_packager.h +++ b/platform/uwp/export/app_packager.h @@ -89,7 +89,7 @@ class AppxPackager { String progress_task; Ref package; - RBSet mime_types; + HashSet mime_types; Vector file_metadata; diff --git a/platform/uwp/export/export_plugin.cpp b/platform/uwp/export/export_plugin.cpp index e2e84131a3..01683c656c 100644 --- a/platform/uwp/export/export_plugin.cpp +++ b/platform/uwp/export/export_plugin.cpp @@ -499,7 +499,7 @@ void EditorExportPlatformUWP::get_platform_features(List *r_features) { r_features->push_back("uwp"); } -void EditorExportPlatformUWP::resolve_platform_feature_priorities(const Ref &p_preset, RBSet &p_features) { +void EditorExportPlatformUWP::resolve_platform_feature_priorities(const Ref &p_preset, HashSet &p_features) { } EditorExportPlatformUWP::EditorExportPlatformUWP() { diff --git a/platform/uwp/export/export_plugin.h b/platform/uwp/export/export_plugin.h index 4eff96a432..d92687075c 100644 --- a/platform/uwp/export/export_plugin.h +++ b/platform/uwp/export/export_plugin.h @@ -441,7 +441,7 @@ public: virtual void get_platform_features(List *r_features) override; - virtual void resolve_platform_feature_priorities(const Ref &p_preset, RBSet &p_features) override; + virtual void resolve_platform_feature_priorities(const Ref &p_preset, HashSet &p_features) override; EditorExportPlatformUWP(); }; -- cgit v1.2.3