We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76f149 commit 884af3fCopy full SHA for 884af3f
Sources/ReerJSON/Utilities.swift
@@ -136,13 +136,13 @@ extension Optional {
136
}
137
138
#if os(Linux)
139
-let _iso8601Formatter: ISO8601DateFormatter = {
+nonisolated(unsafe) let _iso8601Formatter: ISO8601DateFormatter = {
140
let formatter = ISO8601DateFormatter()
141
formatter.formatOptions = .withInternetDateTime
142
return formatter
143
}()
144
#else
145
-let _iso8601Formatter: JJLISO8601DateFormatter = {
+nonisolated(unsafe) let _iso8601Formatter: JJLISO8601DateFormatter = {
146
let formatter = JJLISO8601DateFormatter()
147
148
0 commit comments