From cd27f8551dc593cc4fb29e1093ae45a57e6ca58e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 30 May 2023 23:02:08 -0700 Subject: Fix alc::Event declaration --- alc/events.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alc/events.h b/alc/events.h index 51f32e57..3b22a4c4 100644 --- a/alc/events.h +++ b/alc/events.h @@ -26,9 +26,9 @@ inline std::mutex EventMutex; inline ALCEVENTPROCTYPESOFT EventCallback{}; inline void *EventUserPtr{}; -void Event(ALCenum eventType, ALCdevice *device, std::string_view message) noexcept; +void Event(alc::EventType eventType, ALCdevice *device, std::string_view message) noexcept; -inline void Event(ALCenum eventType, std::string_view message) noexcept +inline void Event(alc::EventType eventType, std::string_view message) noexcept { Event(eventType, nullptr, message); } } // namespace alc -- cgit v1.2.3