Commit f6dd537e authored by charlie's avatar charlie
Browse files

Fix any_of

parent 5c970b52
...@@ -320,7 +320,7 @@ struct check_shapes ...@@ -320,7 +320,7 @@ struct check_shapes
bool any_of(Predicate p) const bool any_of(Predicate p) const
{ {
if(begin == end) if(begin == end)
return true; return false;
assert(begin != nullptr); assert(begin != nullptr);
assert(end != nullptr); assert(end != nullptr);
return std::any_of(begin, end, p); 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