Skip to content
Commit 70b0ea11 authored by Milian Wolff's avatar Milian Wolff
Browse files

Cleanup: introduce central ItemRepository::allocateNextBuckets

For now this is mostly to centralize this logic, but in a follow-up
we will expand the logic in this function further.

Note that the ItemRepository::m_buckets member is still initialized
on-demand to 10 as before, either when `open` is called (which
happens through `ItemRepositoryRegistry::registerRepository`), or
when an `index` write operation is encountered the first time,
at which point `useBucket >= m_buckets.size()` will trigger a call
to `allocateNextBuckets`.
parent f70e5c7d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment