diff --git a/tddb/test/key_value.cpp b/tddb/test/key_value.cpp index 74215e5bd..921ad059a 100644 --- a/tddb/test/key_value.cpp +++ b/tddb/test/key_value.cpp @@ -60,7 +60,8 @@ TEST(KeyValue, simple) { ensure_value(as_slice(x), as_slice(x)); kv.reset(); - td::RocksDbOptions options{.snapshot_statistics = std::make_shared()}; + td::RocksDbOptions options; + options.snapshot_statistics = std::make_shared(); kv = std::make_unique(td::RocksDb::open(db_name.str(), options).move_as_ok()); ensure_value("A", "HELLO"); ensure_value(as_slice(x), as_slice(x));