We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc6c037 commit 4074620Copy full SHA for 4074620
include/bitcoin/system/impl/hash/functions.ipp
@@ -217,7 +217,7 @@ INLINE constexpr size_t unique_hash(const data_array<Size>& key) NOEXCEPT
217
// This optimization breaks data portability (by endianness).
218
// Could be modified to use an endian conversion vs. simple copy.
219
size_t value{};
220
- std::copy_n(key.begin(), size, system::byte_cast(value).begin());
+ std::copy_n(key.begin(), size, byte_cast(value).begin());
221
return value;
222
}
223
0 commit comments