summaryrefslogtreecommitdiff
path: root/platform/android/dir_access_android.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-01-27 15:08:16 +0100
committerHein-Pieter van Braam <hp@tmm.cx>2018-01-27 15:11:39 +0100
commit7577252b1bd3e38a0aa6da1e5e6beee333af5e6f (patch)
treeccc49ab7f9f68012f5705b60c054d5a7c70d040d /platform/android/dir_access_android.cpp
parent4a042b1f7a4d6d9d41ab46c5e0f069d848b408f5 (diff)
Use the appropriate Variant hash and compare functions for Dictionaries
Dictionaires did not use the VariantHasher and VariantComparator making them unsafe for use with NaN values as keys. This PR uses the appropriate Variant implementations for these functions. var d = {} d[Vector2(NAN, NAN)] = 0 d[Vector2(NAN, NAN)] = 0 print(d.size()) will now output '1' and not '2' This fixes #16031
Diffstat (limited to 'platform/android/dir_access_android.cpp')
0 files changed, 0 insertions, 0 deletions