aboutsummaryrefslogtreecommitdiff
path: root/src/Spv.Generator/TypeDeclarationKey.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Spv.Generator/TypeDeclarationKey.cs')
-rw-r--r--src/Spv.Generator/TypeDeclarationKey.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Spv.Generator/TypeDeclarationKey.cs b/src/Spv.Generator/TypeDeclarationKey.cs
index a4aa9563..e4fd5fd5 100644
--- a/src/Spv.Generator/TypeDeclarationKey.cs
+++ b/src/Spv.Generator/TypeDeclarationKey.cs
@@ -5,7 +5,7 @@ namespace Spv.Generator
{
internal struct TypeDeclarationKey : IEquatable<TypeDeclarationKey>
{
- private Instruction _typeDeclaration;
+ private readonly Instruction _typeDeclaration;
public TypeDeclarationKey(Instruction typeDeclaration)
{