Skip to content

Commit 61040a3

Browse files
committed
fix bit operations
1 parent 15eb187 commit 61040a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SCFNotification/SCFNotificationCenter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ extension SCFNotificationCenter {
154154
}
155155

156156
let options: CFOptionFlags = options.reduce(into: 0) { partialResult, option in
157-
partialResult = partialResult & option.flag
157+
partialResult = partialResult | option.flag
158158
}
159159

160160
CFNotificationCenterPostNotificationWithOptions(center.cfNotificationCenter, name, objectPtr, userInfo, options)

0 commit comments

Comments
 (0)