Skip to content

Commit

Permalink
add default value
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Xu <[email protected]>
  • Loading branch information
Qi Xu committed Mar 22, 2024
1 parent 81b4ebe commit 49a974a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/wal_edit.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class WalMetadata {
WalMetadata() = default;

explicit WalMetadata(uint64_t synced_size_bytes,
uint64_t last_sequence_number)
uint64_t last_sequence_number = 0)
: synced_size_bytes_(synced_size_bytes),
last_sequence_number_(last_sequence_number) {}

Expand Down

0 comments on commit 49a974a

Please sign in to comment.