diff options
Diffstat (limited to 'src/Ryujinx.Tests.Unicorn/IndexedProperty.cs')
| -rw-r--r-- | src/Ryujinx.Tests.Unicorn/IndexedProperty.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.Tests.Unicorn/IndexedProperty.cs b/src/Ryujinx.Tests.Unicorn/IndexedProperty.cs index 65d445fc..347b91a0 100644 --- a/src/Ryujinx.Tests.Unicorn/IndexedProperty.cs +++ b/src/Ryujinx.Tests.Unicorn/IndexedProperty.cs @@ -4,12 +4,12 @@ namespace Ryujinx.Tests.Unicorn { public class IndexedProperty<TIndex, TValue> { - private Func<TIndex, TValue> _getFunc; - private Action<TIndex, TValue> _setAction; + private readonly Func<TIndex, TValue> _getFunc; + private readonly Action<TIndex, TValue> _setAction; public IndexedProperty(Func<TIndex, TValue> getFunc, Action<TIndex, TValue> setAction) { - _getFunc = getFunc; + _getFunc = getFunc; _setAction = setAction; } |
