diff options
Diffstat (limited to 'alc/events.h')
-rw-r--r-- | alc/events.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/events.h b/alc/events.h index ddb3808a..4acc505d 100644 --- a/alc/events.h +++ b/alc/events.h @@ -24,7 +24,8 @@ enum class DeviceType : ALCenum { Capture = ALC_CAPTURE_DEVICE_SOFT, }; -inline std::bitset<al::to_underlying(EventType::Count)> EventsEnabled{0}; +using EventBitSet = std::bitset<al::to_underlying(EventType::Count)>; +inline EventBitSet EventsEnabled{0}; inline std::mutex EventMutex; |