Skip to content

Commit 6c27f53

Browse files
committed
Don't use brace init in vector(size) construct.
1 parent cd34bb8 commit 6c27f53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/chain/block.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ hashes block::transaction_hashes(bool witness) const NOEXCEPT
231231
{
232232
const auto count = txs_->size();
233233
const auto size = is_odd(count) && count > one ? add1(count) : count;
234-
hashes out{ size };
234+
hashes out(size);
235235

236236
// Extra allocation for odd count optimizes for merkle root.
237237
// Vector capacity is never reduced when resizing to smaller size.

0 commit comments

Comments
 (0)