Skip to content

Commit

Permalink
test: default initialize members
Browse files Browse the repository at this point in the history
  • Loading branch information
mhx committed Nov 20, 2024
1 parent 9cad497 commit e76b62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/block_merger_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ struct block {
return os << source_id << "." << index;
}

size_t source_id;
size_t index;
size_t source_id{0};
size_t index{0};
};

struct sized_block {
Expand Down

0 comments on commit e76b62d

Please sign in to comment.