From 0f9630f28d7aa343807071d1bb21f8af102caf13 Mon Sep 17 00:00:00 2001 From: der richter Date: Sun, 9 Jun 2024 16:53:52 +0200 Subject: [PATCH] mac/event: remove swift 5.6 language feature that is mandatory with 6.0 this can be tested with -enable-upcoming-feature ExistentialAny --- osdep/mac/event_helper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osdep/mac/event_helper.swift b/osdep/mac/event_helper.swift index 0f194ce8aa..6331a64a9f 100644 --- a/osdep/mac/event_helper.swift +++ b/osdep/mac/event_helper.swift @@ -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 {