diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2023-07-10 15:45:04 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2023-07-10 15:45:04 -0700 |
commit | ead05bc8de655911327d7356f55dab0f79371cfc (patch) | |
tree | fa06a02f76d91cd7d736752ec30c341525291b29 /alc/events.cpp | |
parent | 3efdc1e43b533de15967fc0e93ef841f068a8fa0 (diff) |
Use a type alias for ALC event bit masks
Diffstat (limited to 'alc/events.cpp')
-rw-r--r-- | alc/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/events.cpp b/alc/events.cpp index 6c91261c..a80faf8a 100644 --- a/alc/events.cpp +++ b/alc/events.cpp @@ -70,7 +70,7 @@ FORCE_ALIGN ALCboolean ALC_APIENTRY alcEventControlSOFT(ALCsizei count, const AL return ALC_FALSE; } - std::bitset<al::to_underlying(alc::EventType::Count)> eventSet{0}; + alc::EventBitSet eventSet{0}; for(ALCenum type : al::span{events, static_cast<ALCuint>(count)}) { auto etype = GetEventType(type); |