mac/event: remove swift 5.6 language feature that is mandatory with 6.0

this can be tested with -enable-upcoming-feature ExistentialAny
This commit is contained in:
der richter 2024-06-09 16:53:52 +02:00
parent 1364c80e64
commit 0f9630f28d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class EventHelper {
mpv_set_wakeup_callback(mpv, wakeup, TypeHelper.bridge(obj: self)) mpv_set_wakeup_callback(mpv, wakeup, TypeHelper.bridge(obj: self))
} }
func subscribe(_ subscriber: any EventSubscriber, event: Event) { func subscribe(_ subscriber: EventSubscriber, event: Event) {
guard let mpv = mpv else { return } guard let mpv = mpv else { return }
if !event.name.isEmpty { if !event.name.isEmpty {