Change Cache to be based on std::unordered_map 05/25705/1
authorZofia Abramowska <z.abramowska@samsung.com>
Fri, 8 Aug 2014 12:22:29 +0000 (14:22 +0200)
committerZofia Abramowska <z.abramowska@samsung.com>
Fri, 8 Aug 2014 12:22:29 +0000 (14:22 +0200)
Change-Id: Iaadc74c426d9d6e7851a55b69556463b53aa31e6

src/client/cache/CapacityCache.h

index 39ca928..12101db 100644 (file)
@@ -24,7 +24,7 @@
 #define  SRC_CLIENT_CACHE_CAPACITYCACHE_H_
 
 #include <list>
-#include <map>
+#include <unordered_map>
 
 #include <cache/CacheInterface.h>
 
@@ -44,7 +44,7 @@ public:
 
 private:
     typedef std::list<std::string> KeyUsageList;
-    typedef std::map<std::string,
+    typedef std::unordered_map<std::string,
         std::pair<PolicyResult,
                   KeyUsageList::iterator>> KeyValueMap;