diff options
Diffstat (limited to 'AK/AnyOf.h')
-rw-r--r-- | AK/AnyOf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AK/AnyOf.h b/AK/AnyOf.h index 034c1d57ea..97bacefd46 100644 --- a/AK/AnyOf.h +++ b/AK/AnyOf.h @@ -14,9 +14,9 @@ namespace AK { template<typename Container, typename ValueType> constexpr bool any_of( - const SimpleIterator<Container, ValueType>& begin, - const SimpleIterator<Container, ValueType>& end, - const auto& predicate) + SimpleIterator<Container, ValueType> const& begin, + SimpleIterator<Container, ValueType> const& end, + auto const& predicate) { return find_if(begin, end, predicate) != end; } |