aboutsummaryrefslogtreecommitdiffstats
path: root/core/effectslot.h
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 /core/effectslot.h
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 'core/effectslot.h')
-rw-r--r--core/effectslot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/effectslot.h b/core/effectslot.h
index 2624ae5f..3362ba85 100644
--- a/core/effectslot.h
+++ b/core/effectslot.h
@@ -6,6 +6,7 @@
#include "almalloc.h"
#include "device.h"
#include "effects/base.h"
+#include "flexarray.h"
#include "intrusive_ptr.h"
struct EffectSlot;