Skip to content

Commit a2c5cf2

Browse files
committed
Fixed compiler warning
1 parent c88f7f9 commit a2c5cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNext/Sentinel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ internal static class Sentinel
99

1010
// The struct is needed to avoid false positives caused by the type check on the variable that stores singleton
1111
[StructLayout(LayoutKind.Auto)]
12-
private struct Dummy;
12+
private readonly struct Dummy;
1313
}

0 commit comments

Comments
 (0)