mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Merge pull request #111361 from Ivorforce/cleanup-hashfuncs
Clean up `hashfuncs.h`
This commit is contained in:
commit
7efb51c9d3
3 changed files with 168 additions and 152 deletions
|
|
@ -2941,7 +2941,7 @@ uint32_t Variant::recursive_hash(int recursion_count) const {
|
|||
return hash_one_uint64(reinterpret_cast<const ::RID *>(_data._mem)->get_id());
|
||||
} break;
|
||||
case OBJECT: {
|
||||
return hash_one_uint64(hash_make_uint64_t(_get_obj().obj));
|
||||
return hash_one_uint64(reinterpret_cast<uint64_t>(_get_obj().obj));
|
||||
} break;
|
||||
case STRING_NAME: {
|
||||
return reinterpret_cast<const StringName *>(_data._mem)->hash();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue