mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 09:47:01 -04:00
fix(block_cache): actually pass allocation mode to byte buffer factory
This commit is contained in:
parent
b99cb472f1
commit
9b7eb21cff
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user