1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Use OrderedHashMap for enum_values

This commit is contained in:
Nathan Franke
2021-12-08 00:34:17 -06:00
committed by Nathan Franke
parent ed395c6b99
commit b5b75cad43
2 changed files with 5 additions and 5 deletions

View File

@@ -133,7 +133,7 @@ public:
ClassNode *class_type = nullptr;
MethodInfo method_info; // For callable/signals.
Map<StringName, int> enum_values; // For enums.
OrderedHashMap<StringName, int> enum_values; // For enums.
_FORCE_INLINE_ bool is_set() const { return kind != UNRESOLVED; }
_FORCE_INLINE_ bool has_no_type() const { return type_source == UNDETECTED; }