Browse Source
Merge pull request #6818 from Morph1984/hex-util-bug
hex_util: Fix incorrect array size in AsArray
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/common/hex_util.h
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|
|
|
|
|