mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
gcc warnings
This commit is contained in:
parent
8f3699bea5
commit
2b2c222bf0
|
@ -37,7 +37,7 @@ void check_ordered_values(S& src, T& target) {
|
|||
auto e = std::end(target);
|
||||
for (; b != e; ++b, ++idx) {
|
||||
const auto& v = src[idx];
|
||||
REQUIRE(*b == v);
|
||||
REQUIRE((*b == v));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ void check_unordered_values(S& src, T& target) {
|
|||
auto sb = std::begin(src);
|
||||
auto se = std::end(src);
|
||||
auto it = std::find(sb, se, *b);
|
||||
REQUIRE(it != se);
|
||||
REQUIRE((it != se));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user