Fixes RocksDB build

pull/190/head
Tpt 3 years ago
parent 8aee8a50d9
commit 6a838d0f4c
  1. 2
      rocksdb-sys/api/build_version.cc

@ -7,7 +7,7 @@
namespace ROCKSDB_NAMESPACE { namespace ROCKSDB_NAMESPACE {
const std::unordered_map<std::string, std::string>& GetRocksBuildProperties() { const std::unordered_map<std::string, std::string>& GetRocksBuildProperties() {
static std::unique_ptr<std::unordered_map<std::string, std::string>> props; static std::unique_ptr<std::unordered_map<std::string, std::string>> props(new std::unordered_map<std::string, std::string>());
return *props; return *props;
} }

Loading…
Cancel
Save