Skip to content

Commit 15aacd2

Browse files
authored
Replace deprecated ThreadLocal with kotlin.native.concurrent.ThreadLocal (#2266)
1 parent e2092a4 commit 15aacd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

formats/json/nativeMain/src/kotlinx/serialization/json/JsonSchemaCache.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package kotlinx.serialization.json
77
import kotlinx.serialization.json.internal.*
88
import kotlin.native.ref.*
99
import kotlin.random.*
10+
import kotlin.native.concurrent.*
1011

1112
/**
1213
* This maps emulate thread-locality of DescriptorSchemaCache for Native.

0 commit comments

Comments
 (0)