File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
include/bitcoin/system/impl/radix Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ constexpr uint8_t encode_octet(
9595
9696constexpr std::string encode_base16 (const data_slice& data) NOEXCEPT
9797{
98- std::string out;
98+ std::string out{} ;
9999 out.resize (data.size () * octet_width);
100100 auto digit = out.begin ();
101101
@@ -111,7 +111,7 @@ constexpr std::string encode_base16(const data_slice& data) NOEXCEPT
111111// std::string is constexpr
112112constexpr std::string encode_hash (const data_slice& hash) NOEXCEPT
113113{
114- std::string out;
114+ std::string out{} ;
115115 out.resize (hash.size () * octet_width);
116116 auto digit = out.begin ();
117117
@@ -215,7 +215,7 @@ constexpr std::string base16_string(const char(&string)[Size]) NOEXCEPT
215215template <size_t Size, if_odd<Size>>
216216data_chunk base16_chunk (const char (&string)[Size]) NOEXCEPT
217217{
218- data_chunk out;
218+ data_chunk out{} ;
219219 decode_base16 (out, string);
220220 return out;
221221}
You can’t perform that action at this time.
0 commit comments