mirror of https://github.com/mpv-player/mpv
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:
parent
1364c80e64
commit
0f9630f28d
|
@ -75,7 +75,7 @@ class EventHelper {
|
|||
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 }
|
||||
|
||||
if !event.name.isEmpty {
|
||||
|
|
Loading…
Reference in New Issue