summaryrefslogtreecommitdiffstats
path: root/libutils
diff options
context:
space:
mode:
authorSergio Giro <sgiro@google.com>2015-09-25 18:03:18 +0100
committerSergio Giro <sgiro@google.com>2015-09-30 13:48:30 +0100
commitbb58cde899dc331d0146faa8a85e7fe2e8f1f490 (patch)
tree2789d48eebe197c38695bdb37c70f7123d21483a /libutils
parentfca4821e05f1d4684185b559d177ffde6937bf61 (diff)
downloadcore-bb58cde899dc331d0146faa8a85e7fe2e8f1f490.tar.gz
core-bb58cde899dc331d0146faa8a85e7fe2e8f1f490.tar.bz2
core-bb58cde899dc331d0146faa8a85e7fe2e8f1f490.zip
system/core: change LruCache to use unordered_set instead of BasicHashTable
Towards deprecation of BasicHashTable Change-Id: I3f3d904636a85a794cccf972f6e4a94e7f3808f5
Diffstat (limited to 'libutils')
-rw-r--r--libutils/tests/LruCache_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libutils/tests/LruCache_test.cpp b/libutils/tests/LruCache_test.cpp
index 6155defd4..2ed84d700 100644
--- a/libutils/tests/LruCache_test.cpp
+++ b/libutils/tests/LruCache_test.cpp
@@ -221,7 +221,7 @@ TEST_F(LruCacheTest, NoLeak) {
cache.put(ComplexKey(0), ComplexValue(0));
cache.put(ComplexKey(1), ComplexValue(1));
EXPECT_EQ(2U, cache.size());
- assertInstanceCount(2, 3); // the null value counts as an instance
+ assertInstanceCount(2, 3); // the member mNullValue counts as an instance
}
TEST_F(LruCacheTest, Clear) {