Skip to content

Commit

Permalink
Update Sources/PubNub/Helpers/WeakBox.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Mamontov <[email protected]>
  • Loading branch information
jguz-pubnub and parfeon authored Sep 12, 2024
1 parent ffd868e commit db81292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PubNub/Helpers/WeakBox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ extension WeakSet: Collection {
}

func index(after index: Set<WeakBox<Element>>.Index) -> Set<WeakBox<Element>>.Index {
elements.lockedRead { $0 }.index(after: index)
elements.lockedRead { $0.index(after: index) }
}
}

0 comments on commit db81292

Please sign in to comment.