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; }