mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +01:00
ircd::db::database::cache: Fix construction of the proxy w/ custom allocator.
This commit is contained in:
parent
214c2e1b4f
commit
f77f36904e
1 changed files with 2 additions and 1 deletions
|
@ -3067,7 +3067,8 @@ ircd::db::database::cache::cache(database *const &d,
|
|||
std::shared_ptr<struct database::allocator> allocator,
|
||||
std::string name,
|
||||
const ssize_t &initial_capacity)
|
||||
:d{d}
|
||||
:rocksdb::Cache{allocator}
|
||||
,d{d}
|
||||
,name{std::move(name)}
|
||||
,stats{std::move(stats)}
|
||||
,allocator{std::move(allocator)}
|
||||
|
|
Loading…
Reference in a new issue