coord/ops: correct last iterators for util::all and util::any

This commit is contained in:
Danny Robson 2016-09-21 22:22:52 +10:00
parent 4544a594c3
commit 2b946510e5

View File

@ -780,7 +780,7 @@ namespace util {
any (const K<S,bool> k)
{
return std::any_of (std::cbegin (k),
std::cbegin (k),
std::cend (k),
identity<bool>);
}
@ -797,7 +797,7 @@ namespace util {
all (const K<S,bool> k)
{
return std::all_of (std::cbegin (k),
std::cbegin (k),
std::cend (k),
identity<bool>);
}