Skip to content

Commit 4c89a35

Browse files
author
Alex Peck
committed
rem volatile
1 parent aeae236 commit 4c89a35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BitFaster.Caching/Lru/LruItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class LruItem<K, V>
1414
{
1515
private V data;
1616

17-
private volatile bool wasAccessed;
18-
private volatile bool wasRemoved;
17+
private bool wasAccessed;
18+
private bool wasRemoved;
1919

2020
// only used when V is a non-atomic value type to prevent torn reads
2121
private int sequence;

0 commit comments

Comments
 (0)