Skip to content

Commit

Permalink
Fix WASM platform build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Dec 20, 2023
1 parent b663c10 commit 5e63ace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/OpenCombine/Helpers/Violations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extension Subscribers.Demand {
@_transparent
@inline(__always)
internal func assertNonZero() {
precondition(rawValue <= 0x8000_0000_0000_0000)
precondition(rawValue > 0)
precondition(rawValue <= Subscribers.Demand.unlimited.rawValue)
precondition(rawValue > Subscribers.Demand.none.rawValue)
}
}

0 comments on commit 5e63ace

Please sign in to comment.