1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-09-13 02:37:53 -05:00

GetHashCode should not reference mutable fields (#5331)

This commit is contained in:
Marco Carvalho
2023-06-22 13:36:07 -03:00
committed by GitHub
parent 649d372f7d
commit 58907e2c29
7 changed files with 9 additions and 9 deletions

View File

@@ -4,8 +4,8 @@ namespace Ryujinx.Tests.Unicorn
{
public struct SimdValue : IEquatable<SimdValue>
{
private ulong _e0;
private ulong _e1;
private readonly ulong _e0;
private readonly ulong _e1;
public SimdValue(ulong e0, ulong e1)
{