From e7a26f58ab6d3672e1c4fdce2e54a15f34ed9ad4 Mon Sep 17 00:00:00 2001 From: SpyCheese Date: Mon, 29 Jul 2024 15:23:30 +0300 Subject: [PATCH] Fix compilation error in test-tddb (#1083) --- tddb/test/key_value.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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));