diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-12 12:36:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 12:36:43 +0200 |
commit | edda6ee9f82ec94f993ebf44486ab7d8abcef193 (patch) | |
tree | 691c51ea7516990b94303afa334d70c66c512cc4 /core/io/resource_uid.h | |
parent | 9b7e16a6b8b80fe61881e8f4df28550e18050dd2 (diff) | |
parent | 8b7c7f5a753b43cec10f72b274bb1d70c253652b (diff) |
Merge pull request #60881 from reduz/new-hash-map
Diffstat (limited to 'core/io/resource_uid.h')
-rw-r--r-- | core/io/resource_uid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/resource_uid.h b/core/io/resource_uid.h index 0b7ffdf6d0..da42553cf5 100644 --- a/core/io/resource_uid.h +++ b/core/io/resource_uid.h @@ -33,7 +33,7 @@ #include "core/object/ref_counted.h" #include "core/string/string_name.h" -#include "core/templates/ordered_hash_map.h" +#include "core/templates/hash_map.h" class ResourceUID : public Object { GDCLASS(ResourceUID, Object) @@ -53,7 +53,7 @@ private: bool saved_to_cache = false; }; - OrderedHashMap<ID, Cache> unique_ids; //unique IDs and utf8 paths (less memory used) + HashMap<ID, Cache> unique_ids; //unique IDs and utf8 paths (less memory used) static ResourceUID *singleton; uint32_t cache_entries = 0; |