From 2b2c222bf09f96039d31e6fab8fc17caf42dd265 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 22 Sep 2017 23:17:37 -0400 Subject: [PATCH] gcc warnings --- tests/test_containers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_containers.cpp b/tests/test_containers.cpp index 42d0be2b..4bae9d8c 100644 --- a/tests/test_containers.cpp +++ b/tests/test_containers.cpp @@ -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)); } }