Commit f6dd537e authored by charlie's avatar charlie
Browse files

Fix any_of

parent 5c970b52
......@@ -320,7 +320,7 @@ struct check_shapes
bool any_of(Predicate p) const
{
if(begin == end)
return true;
return false;
assert(begin != nullptr);
assert(end != nullptr);
return std::any_of(begin, end, p);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment