Skip to content

Commit

Permalink
Fix compilation error in test-tddb
Browse files Browse the repository at this point in the history
  • Loading branch information
SpyCheese committed Jul 29, 2024
1 parent 25386f5 commit 6917ea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tddb/test/key_value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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::RocksDbSnapshotStatistics>()};
td::RocksDbOptions options;
options.snapshot_statistics = std::make_shared<td::RocksDbSnapshotStatistics>();
kv = std::make_unique<td::RocksDb>(td::RocksDb::open(db_name.str(), options).move_as_ok());
ensure_value("A", "HELLO");
ensure_value(as_slice(x), as_slice(x));
Expand Down

0 comments on commit 6917ea9

Please sign in to comment.