Merge pull request #6818 from Morph1984/hex-util-bug
hex_util: Fix incorrect array size in AsArray
This commit is contained in:
commit
9a7d2e3659
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue