fix(block_cache): actually pass allocation mode to byte buffer factory

This commit is contained in:
Marcus Holland-Moritz 2025-04-08 09:10:23 +02:00
parent b99cb472f1
commit 9b7eb21cff

View File

@ -231,7 +231,8 @@ class block_cache_ final : public block_cache::impl {
[[maybe_unused]])
: cache_(0)
, mm_(std::move(mm))
, buffer_factory_{block_cache_byte_buffer_factory::create()}
, buffer_factory_{block_cache_byte_buffer_factory::create(
options.allocation_mode)}
, LOG_PROXY_INIT(lgr)
// clang-format off
PERFMON_CLS_PROXY_INIT(perfmon, "block_cache")