diff options
author | Chris Robinson <[email protected]> | 2019-06-09 18:13:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-09 18:13:54 -0700 |
commit | bc8f206ee1361ec4b6e740a458bb7985bb7d1429 (patch) | |
tree | 5705d45dbedf6af324b3430654decf8388d0bd21 /common/almalloc.h | |
parent | 90d25e5187ca50a6e978603fabb6395035ad0db5 (diff) |
Use a FlexArray for the context's voices
Diffstat (limited to 'common/almalloc.h')
-rw-r--r-- | common/almalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/almalloc.h b/common/almalloc.h index d50aa1dd..4bf3a281 100644 --- a/common/almalloc.h +++ b/common/almalloc.h @@ -175,7 +175,7 @@ struct FlexArray { const index_type mSize; - alignas(alignment) element_type mArray[]; + alignas(alignment) element_type mArray[0]; static constexpr index_type Sizeof(index_type count, index_type base=0u) noexcept { |