Fix vc++ compile error in write_legacy_sideband (#1652)
This commit is contained in:
parent
09bff5a298
commit
72bfc97a0c
1 changed files with 1 additions and 1 deletions
|
@ -1154,7 +1154,7 @@ void write_legacy_sideband (nano::mdb_store & store_a, nano::transaction & trans
|
|||
block_a.serialize (stream);
|
||||
nano::write (stream, successor_a);
|
||||
}
|
||||
MDB_val val ({ vector.size (), vector.data () });
|
||||
MDB_val val{ vector.size (), vector.data () };
|
||||
auto hash (block_a.hash ());
|
||||
auto status2 (mdb_put (store_a.env.tx (transaction_a), db_a, nano::mdb_val (hash), &val, 0));
|
||||
ASSERT_EQ (0, status2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue