mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-03 15:52:54 +08:00
Change atomic property to val
This commit is contained in:
parent
71f639ae0e
commit
47d6d6e53d
@ -118,7 +118,7 @@ class LockFreeLinkedList<E> : MutableList<E>, RandomAccess {
|
|||||||
currentNoderef.value = value
|
currentNoderef.value = value
|
||||||
}
|
}
|
||||||
|
|
||||||
private var currentNoderef: AtomicRef<Node<E>> = atomic(head) // concurrent compatibility
|
private val currentNoderef: AtomicRef<Node<E>> = atomic(head) // concurrent compatibility
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if
|
* Check if
|
||||||
|
Loading…
Reference in New Issue
Block a user