summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libartbase/base/stl_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libartbase/base/stl_util.h b/libartbase/base/stl_util.h
index 53eb410519..a6ab16c0d4 100644
--- a/libartbase/base/stl_util.h
+++ b/libartbase/base/stl_util.h
@@ -293,8 +293,8 @@ struct FilterIterator {
std::optional<RealIter> end_;
};
-template <typename BaseRange, typename Filter>
-static inline auto Filter(BaseRange&& range, Filter cond) {
+template <typename BaseRange, typename FilterT>
+static inline auto Filter(BaseRange&& range, FilterT cond) {
auto end = range.end();
auto start = std::find_if(range.begin(), end, cond);
return MakeIterationRange(FilterIterator(start, cond, std::make_optional(end)),