mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 06:50:08 +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
|
||||
}
|
||||
|
||||
private var currentNoderef: AtomicRef<Node<E>> = atomic(head) // concurrent compatibility
|
||||
private val currentNoderef: AtomicRef<Node<E>> = atomic(head) // concurrent compatibility
|
||||
|
||||
/**
|
||||
* Check if
|
||||
|
Loading…
Reference in New Issue
Block a user