aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-10 12:58:18 -0800
committerChris Robinson <[email protected]>2023-12-10 12:58:18 -0800
commitcf37d92442ccf3c7f4b979bd97282dcbe28ca64a (patch)
tree3b96251062c9c6ea97aea3190e22ea68e1377e18 /alc/alc.cpp
parent073d79c2047143e70bb199077fe3c8dbafe0a606 (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/alc.cpp')
-rw-r--r--alc/alc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 6e851b74..ebdba66d 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -99,6 +99,7 @@
#include "device.h"
#include "effects/base.h"
#include "export_list.h"
+#include "flexarray.h"
#include "inprogext.h"
#include "intrusive_ptr.h"
#include "opthelpers.h"