Merge pull request #6818 from Morph1984/hex-util-bug

hex_util: Fix incorrect array size in AsArray
merge-requests/60/head
Mai M 2021-08-04 23:31:04 +07:00 committed by GitHub
commit 9a7d2e3659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -61,7 +61,7 @@ template <typename ContiguousContainer>
return out;
}
[[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[17]) {
[[nodiscard]] constexpr std::array<u8, 16> AsArray(const char (&data)[33]) {
return HexStringToArray<16>(data);
}