There was an error while loading. Please reload this page.
1 parent 8aecb6a commit 2b3a745Copy full SHA for 2b3a745
STL_examples.cpp
@@ -29,7 +29,7 @@ TEST(any_of, ExampleTwoEmptySet) {
29
const std::vector<int> numbers;
30
const bool equals_four = std::any_of(numbers.cbegin(), numbers.cend(), [](int i)->int{ return i == 4; });
31
EXPECT_FALSE(equals_four);
32
- const bool equals_zero = std::any_of(numbers.cbegin(), numbers.cend(), [](int i)->int{ return i == 10; });
+ const bool equals_zero = std::any_of(numbers.cbegin(), numbers.cend(), [](int i)->int{ return i == 0; });
33
EXPECT_FALSE(equals_zero);
34
}
35
0 commit comments