Skip to content

Commit

Permalink
DEBUG: Attempt bitcoin#2 - See if Mac compiler swallows this.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodlinator committed Aug 21, 2024
1 parent 28a80db commit 6a89923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/strencodings.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ namespace detail {

template <size_t N>
struct Hex {
std::array<std::byte, N / 2> bytes;
std::array<std::byte, N / 2> bytes{};
consteval Hex(const char (&hex_str)[N])
// 2 hex digits required per byte + implicit null terminator
requires(N % 2 == 1)
Expand Down

0 comments on commit 6a89923

Please sign in to comment.