diff options
Diffstat (limited to 'libartbase/base/hash_set.h')
-rw-r--r-- | libartbase/base/hash_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libartbase/base/hash_set.h b/libartbase/base/hash_set.h index 585c4ce528..0ce405c5f5 100644 --- a/libartbase/base/hash_set.h +++ b/libartbase/base/hash_set.h @@ -417,8 +417,8 @@ class HashSet { // Find an element, returns end() if not found. // Allows custom key (K) types, example of when this is useful: - // Set of Class* sorted by name, want to find a class with a name but can't allocate a dummy - // object in the heap for performance solution. + // Set of Class* indexed by name, want to find a class with a name but can't allocate + // a temporary Class object in the heap for performance solution. template <typename K> iterator find(const K& key) { return FindWithHash(key, hashfn_(key)); |