diff options
author | Chris Robinson <[email protected]> | 2024-01-01 12:56:05 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2024-01-01 12:56:05 -0800 |
commit | 936e654b261b4d1cb604a44da534ba385aa10099 (patch) | |
tree | be12202d8af2614b228be150e678afcdbd740518 | |
parent | aa23d619324ca7e9d51829a2cc5d276c98305eb9 (diff) |
Make the flexarray storage span const
-rw-r--r-- | common/flexarray.h | 2 |
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); } |