1
0
Fork 0

Merge pull request #106133 from fLindahl/stringname_movable_dict_fix

[.NET] Avoid heap alloc when using StringNames as key in a Dictionary
This commit is contained in:
Thaddeus Crews 2025-05-08 07:19:38 -05:00
commit bd619b8d32
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ namespace Godot
public override int GetHashCode()
{
return NativeValue.GetHashCode();
return NativeValue.DangerousSelfRef.GetHashCode();
}
}
}