Skip to content

Commit

Permalink
Update API to fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuliu committed Jun 3, 2024
1 parent d49b934 commit 214e893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlite/SQLiteWorkspaceDictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct SQLiteWorkspaceDictionary: WorkspaceDictionary {
init(namespace: String) {
self.namespace = namespace
locks = UnsafeMutablePointer.allocate(capacity: Self.size)
locks.assign(repeating: os_unfair_lock(), count: Self.size)
locks.update(repeating: os_unfair_lock(), count: Self.size)
dictionaries = Array(repeating: [String: Any](), count: Self.size)
subscriptions = Array(
repeating: [String: [ObjectIdentifier: (Any?) -> Void]](), count: Self.size)
Expand Down

0 comments on commit 214e893

Please sign in to comment.