0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 19:28:52 +02:00

ircd::db::database::cache: Fix construction of the proxy w/ custom allocator.

This commit is contained in:
Jason Volk 2020-05-07 21:03:31 -07:00
parent 214c2e1b4f
commit f77f36904e

View file

@ -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)}