mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Remove VariantHasher and VariantComparator in favour of specializing HashMapHasherDefault and HashMapComparatorDefault.
This commit is contained in:
parent
c01c7b800d
commit
d2ee378d1c
12 changed files with 24 additions and 37 deletions
|
|
@ -104,7 +104,7 @@ class GDScriptByteCodeGenerator : public GDScriptCodeGenerator {
|
|||
List<int> temp_stack;
|
||||
#endif
|
||||
|
||||
HashMap<Variant, int, VariantHasher, VariantComparator> constant_map;
|
||||
HashMap<Variant, int> constant_map;
|
||||
RBMap<StringName, int> name_map;
|
||||
#ifdef TOOLS_ENABLED
|
||||
Vector<StringName> named_globals;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue