Index: base/stl_util.h |
diff --git a/base/stl_util.h b/base/stl_util.h |
index b0670b295eb87d9a28d5621f3f86883fa038a39f..5a9b7b80a4966b4f5d10d58ab9f47b551c98bb43 100644 |
--- a/base/stl_util.h |
+++ b/base/stl_util.h |
@@ -87,8 +87,8 @@ bool ContainsKey(const Collection& collection, const Key& key) { |
// Returns true if the value is in the collection. |
template <typename Collection, typename Value> |
bool ContainsValue(const Collection& collection, const Value& value) { |
- return std::find(collection.begin(), collection.end(), value) != |
- collection.end(); |
+ return std::find(std::begin(collection), std::end(collection), value) != |
+ std::end(collection); |
} |
// Returns true if the container is sorted. |