From 6a838d0f4cee5971323e190d399c346701278e0b Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 29 Jan 2022 16:30:23 +0100 Subject: [PATCH] Fixes RocksDB build --- rocksdb-sys/api/build_version.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocksdb-sys/api/build_version.cc b/rocksdb-sys/api/build_version.cc index f62ef563..5a75f0a2 100644 --- a/rocksdb-sys/api/build_version.cc +++ b/rocksdb-sys/api/build_version.cc @@ -7,7 +7,7 @@ namespace ROCKSDB_NAMESPACE { const std::unordered_map& GetRocksBuildProperties() { - static std::unique_ptr> props; + static std::unique_ptr> props(new std::unordered_map()); return *props; }