summaryrefslogtreecommitdiff
path: root/include/utils
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-11-05 01:09:22 -0800
committerDan Albert <danalbert@google.com>2015-11-05 01:09:22 -0800
commitf2d250969041d6b728c0bc071d5a1b5b92daf19e (patch)
treed023a45f130601ed838578d708d19008a336868a /include/utils
parentd3b177ccb5502306546a357d0897e2552384b18c (diff)
Use std::unique_ptr instead of UniquePtr.
Bug: http://b/22403888 Change-Id: I398fa43b8f33c9281d7ff238521d75f1dcb8a5e7
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/LruCache.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/utils/LruCache.h b/include/utils/LruCache.h
index 20a379ecc..1741fb2e4 100644
--- a/include/utils/LruCache.h
+++ b/include/utils/LruCache.h
@@ -17,10 +17,9 @@
#ifndef ANDROID_UTILS_LRU_CACHE_H
#define ANDROID_UTILS_LRU_CACHE_H
+#include <memory>
#include <unordered_set>
-#include <UniquePtr.h>
-
#include "utils/TypeHelpers.h" // hash_t
namespace android {
@@ -91,7 +90,7 @@ private:
return result;
}
- UniquePtr<LruCacheSet> mSet;
+ std::unique_ptr<LruCacheSet> mSet;
OnEntryRemoved<TKey, TValue>* mListener;
Entry* mOldest;
Entry* mYoungest;