mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 11:12:16 +00:00
Fix compilation error in test-tddb (#1083)
This commit is contained in:
parent
25386f5b00
commit
e7a26f58ab
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue