aboutsummaryrefslogtreecommitdiffstats
path: root/alc/events.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-30 23:02:08 -0700
committerChris Robinson <[email protected]>2023-05-30 23:02:08 -0700
commitcd27f8551dc593cc4fb29e1093ae45a57e6ca58e (patch)
tree24f67018722073d88852beb3495d39eb840304ab /alc/events.h
parente677d420b0c85082a4ccff3ab2a9f362f39a6774 (diff)
Fix alc::Event declaration
Diffstat (limited to 'alc/events.h')
-rw-r--r--alc/events.h4
1 files 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