diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/LockFreeLinkedList.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/LockFreeLinkedList.kt index 711099469..6a55c1008 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/LockFreeLinkedList.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/LockFreeLinkedList.kt @@ -703,7 +703,7 @@ internal open class Node<E>( } @PublishedApi -internal fun <E> Node<E>.isRemoved() = this.removed.value +internal inline fun <E> Node<E>.isRemoved() = this.removed.value @PublishedApi @Suppress("NOTHING_TO_INLINE")