mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-12-22 01:00:05 +00:00
supress warning about comparison between signed and unsigned
This commit is contained in:
parent
0c9b785969
commit
fcbfbd3a26
@ -15,7 +15,8 @@ do { \
|
||||
const auto region = result.unwrap(); \
|
||||
BOOST_CHECK_EQUAL(region.str(), expected); \
|
||||
BOOST_CHECK_EQUAL(region.str().size(), expected.size()); \
|
||||
BOOST_CHECK_EQUAL(std::distance(loc.begin(), loc.iter()), region.size()); \
|
||||
BOOST_CHECK_EQUAL(static_cast<std::size_t>(std::distance( \
|
||||
loc.begin(), loc.iter())), region.size()); \
|
||||
} else { \
|
||||
std::cerr << "lexer " << lxr::pattern() << " failed with input `"; \
|
||||
std::cerr << token << "`. expected `" << expected << "`\n"; \
|
||||
|
Loading…
Reference in New Issue
Block a user