summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_compiler.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-02-17 07:48:06 +0100
committerGitHub <noreply@github.com>2017-02-17 07:48:06 +0100
commit36986531afe3996de05640ff02088d18b24d409c (patch)
tree27bd4f630dda96d028aa0efd7752000844ac996b /modules/gdscript/gd_compiler.h
parent903a3aa5f0e128abb1fb752c10b343b34af8f799 (diff)
parentb696beea65bbffd31edac169ccf9708f46ab9652 (diff)
Merge pull request #7815 from hpvb/fix-7354
Correct hash behavior for floating point numbers
Diffstat (limited to 'modules/gdscript/gd_compiler.h')
-rw-r--r--modules/gdscript/gd_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_compiler.h b/modules/gdscript/gd_compiler.h
index dd211a852c..eb6079e8e0 100644
--- a/modules/gdscript/gd_compiler.h
+++ b/modules/gdscript/gd_compiler.h
@@ -93,7 +93,7 @@ class GDCompiler {
//int get_identifier_pos(const StringName& p_dentifier) const;
- HashMap<Variant,int,VariantHasher> constant_map;
+ HashMap<Variant,int,VariantHasher,VariantComparator> constant_map;
Map<StringName,int> name_map;
int get_name_map_pos(const StringName& p_identifier) {