diff --git a/kotlin-native/performance/ring/src/main/kotlin/org/jetbrains/ring/WeakRefBenchmark.kt b/kotlin-native/performance/ring/src/main/kotlin/org/jetbrains/ring/WeakRefBenchmark.kt index 57f23aa3073..485e530258f 100644 --- a/kotlin-native/performance/ring/src/main/kotlin/org/jetbrains/ring/WeakRefBenchmark.kt +++ b/kotlin-native/performance/ring/src/main/kotlin/org/jetbrains/ring/WeakRefBenchmark.kt @@ -46,7 +46,7 @@ private fun ReferenceWrapper.stress() = (1..REPEAT_COUNT).sumOf { this.value } -@file:OptIn(kotlin.native.runtime.NativeRuntimeApi::class) +@OptIn(kotlin.native.runtime.NativeRuntimeApi::class) open class WeakRefBenchmark { private val aliveRef = ReferenceWrapper.create() private val deadRef = ReferenceWrapper.create().apply {