diff options
author | Chris Robinson <[email protected]> | 2023-12-10 12:58:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-10 12:58:18 -0800 |
commit | cf37d92442ccf3c7f4b979bd97282dcbe28ca64a (patch) | |
tree | 3b96251062c9c6ea97aea3190e22ea68e1377e18 /alc/context.cpp | |
parent | 073d79c2047143e70bb199077fe3c8dbafe0a606 (diff) |
Refactor FlexArray
This avoids using an array of 1 as a flexible array member, and instead uses a
span to reference the memory after itself.
Diffstat (limited to 'alc/context.cpp')
-rw-r--r-- | alc/context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/context.cpp b/alc/context.cpp index 4e962469..2e67f9ac 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -32,6 +32,7 @@ #include "core/voice.h" #include "core/voice_change.h" #include "device.h" +#include "flexarray.h" #include "ringbuffer.h" #include "vecmat.h" |