gcc warnings

This commit is contained in:
ThePhD 2017-09-22 23:17:37 -04:00
parent 8f3699bea5
commit 2b2c222bf0

View File

@ -37,7 +37,7 @@ void check_ordered_values(S& src, T& target) {
auto e = std::end(target); auto e = std::end(target);
for (; b != e; ++b, ++idx) { for (; b != e; ++b, ++idx) {
const auto& v = src[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 sb = std::begin(src);
auto se = std::end(src); auto se = std::end(src);
auto it = std::find(sb, se, *b); auto it = std::find(sb, se, *b);
REQUIRE(it != se); REQUIRE((it != se));
} }
} }