aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs')
-rw-r--r--ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs b/ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs
index 3111e886..4c22de40 100644
--- a/ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs
+++ b/ARMeilleure/Translation/Cache/CacheMemoryAllocator.cs
@@ -6,7 +6,7 @@ namespace ARMeilleure.Translation.Cache
{
class CacheMemoryAllocator
{
- private struct MemoryBlock : IComparable<MemoryBlock>
+ private readonly struct MemoryBlock : IComparable<MemoryBlock>
{
public int Offset { get; }
public int Size { get; }