From f77f36904efd5503f8e0b5321b2e4aae340a5fcc Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 7 May 2020 21:03:31 -0700 Subject: [PATCH] ircd::db::database::cache: Fix construction of the proxy w/ custom allocator. --- ircd/db.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircd/db.cc b/ircd/db.cc index 99f59abb5..0cdb84e54 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -3067,7 +3067,8 @@ ircd::db::database::cache::cache(database *const &d, std::shared_ptr 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)}