coord/ops: correct last iterators for util::all and util::any
This commit is contained in:
parent
4544a594c3
commit
2b946510e5
@ -780,7 +780,7 @@ namespace util {
|
|||||||
any (const K<S,bool> k)
|
any (const K<S,bool> k)
|
||||||
{
|
{
|
||||||
return std::any_of (std::cbegin (k),
|
return std::any_of (std::cbegin (k),
|
||||||
std::cbegin (k),
|
std::cend (k),
|
||||||
identity<bool>);
|
identity<bool>);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -797,7 +797,7 @@ namespace util {
|
|||||||
all (const K<S,bool> k)
|
all (const K<S,bool> k)
|
||||||
{
|
{
|
||||||
return std::all_of (std::cbegin (k),
|
return std::all_of (std::cbegin (k),
|
||||||
std::cbegin (k),
|
std::cend (k),
|
||||||
identity<bool>);
|
identity<bool>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user