use std::uint8_t as an attribute for hex2 parser

This commit is contained in:
Artem Pavlenko 2018-07-18 10:40:41 +01:00
parent 4c31bd16d2
commit a98d1b8071

View file

@ -105,7 +105,7 @@ using x3::char_;
using x3::eol; using x3::eol;
using x3::no_skip; using x3::no_skip;
x3::uint_parser<char, 16, 2, 2> const hex2 {}; x3::uint_parser<std::uint8_t, 16, 2, 2> const hex2 {};
x3::uint_parser<std::uint16_t, 16, 4, 4> const hex4 {}; x3::uint_parser<std::uint16_t, 16, 4, 4> const hex4 {};
x3::uint_parser<uchar, 16, 8, 8> const hex8 {}; x3::uint_parser<uchar, 16, 8, 8> const hex8 {};