aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/flexarray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flexarray.h b/common/flexarray.h
index 09aeef4e..3e211f75 100644
--- a/common/flexarray.h
+++ b/common/flexarray.h
@@ -66,7 +66,7 @@ struct FlexArray {
static constexpr size_t alignment{std::max(alignof(T), Align)};
using Storage_t_ = FlexArrayStorage<element_type,alignment>;
- Storage_t_ mStore;
+ const Storage_t_ mStore;
static constexpr index_type Sizeof(index_type count, index_type base=0u) noexcept
{ return Storage_t_::Sizeof(count, base); }