StrictConcurrency: fix warning about defaultDatabaseTableNameCache

This commit is contained in:
Gwendal Roué committed 2024-07-27 16:37:33 +02:00
1 parent 8346e69757
commit 20d948b4d2
1 file changed
+1 -1
+1 -1
View File
@@ -791,4 +791,4 @@ public typealias PersistenceError = RecordError
/// Calculating `defaultDatabaseTableName` is somewhat expensive due to the regular expression evaluation
///
/// This cache mitigates the cost of the calculation by storing the name for later retrieval
private let defaultDatabaseTableNameCache = NSCache<NSString, NSString>()
nonisolated(unsafe) private let defaultDatabaseTableNameCache = NSCache<NSString, NSString>()