diff --git a/include/cista/containers/paged.h b/include/cista/containers/paged.h index f67e6f94..a8f16f12 100644 --- a/include/cista/containers/paged.h +++ b/include/cista/containers/paged.h @@ -35,6 +35,7 @@ struct paged { using reference = typename DataVec::reference; using const_reference = typename DataVec::const_reference; using size_type = SizeType; + using page_size_type = PageSizeType; using page_t = page; static_assert(sizeof(value_type) * MinPageSize >= sizeof(page_t)); diff --git a/include/cista/containers/paged_vecvec.h b/include/cista/containers/paged_vecvec.h index e8aadc66..45cdb3c6 100644 --- a/include/cista/containers/paged_vecvec.h +++ b/include/cista/containers/paged_vecvec.h @@ -271,7 +271,8 @@ struct paged_vecvec { typename = std::enable_if_t().begin()), data_value_type>>> void emplace_back(Container&& bucket) { - auto p = paged_.create_page(static_cast(bucket.size())); + auto p = paged_.create_page( + static_cast(bucket.size())); paged_.copy(p, std::begin(bucket), std::end(bucket)); idx_.emplace_back(p); }