diff options
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 { |