Merge pull request #6818 from Morph1984/hex-util-bug
hex_util: Fix incorrect array size in AsArray
This commit is contained in:
commit
9a7d2e3659
|
@ -61,7 +61,7 @@ template <typename ContiguousContainer>
|
||||||
return out;
|
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);
|
return HexStringToArray<16>(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue