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 19, 2024
1 parent af6bb93 commit 7e0db48
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 7e0db48

Please sign in to comment.