Merge pull request #72633 from RedworkDE/net-stringname-iequatable

C#: Declare `IEquatable<>` interface for `StringName`
This commit is contained in:
Rémi Verschelde 2023-02-03 15:35:16 +01:00
commit 91dfd6484b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ namespace Godot
/// Comparing them is much faster than with regular strings, because only the pointers are compared,
/// not the whole strings.
/// </summary>
public sealed class StringName : IDisposable
public sealed class StringName : IDisposable, IEquatable<StringName>
{
internal godot_string_name.movable NativeValue;