ascii: rename hex2u8 as hex2u08

This commit is contained in:
Danny Robson 2019-02-09 14:57:02 +11:00
parent 2a9be46d54
commit 4581f8ce00

View File

@ -162,7 +162,7 @@ namespace cruft::ascii {
/// The supplied string must have a length that is a multiple of 2. /// The supplied string must have a length that is a multiple of 2.
std::vector<std::uint8_t> std::vector<std::uint8_t>
inline inline
operator"" _hex2u8 (const char *str, size_t len) operator"" _hex2u08 (const char *str, size_t len)
{ {
CHECK_MOD (len, 2); CHECK_MOD (len, 2);
std::vector<uint8_t> res (len/2); std::vector<uint8_t> res (len/2);