diff options
Diffstat (limited to 'apt-pkg/pkgcachegen.h')
-rw-r--r-- | apt-pkg/pkgcachegen.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h index 328d296bf..9001e334f 100644 --- a/apt-pkg/pkgcachegen.h +++ b/apt-pkg/pkgcachegen.h @@ -26,7 +26,7 @@ #include <vector> #include <string> -#include <map> +#include <unordered_map> class FileFd; class pkgSourceList; @@ -41,10 +41,10 @@ class APT_HIDDEN pkgCacheGenerator /*{{{*/ APT_HIDDEN map_stringitem_t WriteStringInMap(const char *String, const unsigned long &Len); APT_HIDDEN map_pointer_t AllocateInMap(const unsigned long &size); - std::map<std::string,map_stringitem_t> strMixed; - std::map<std::string,map_stringitem_t> strSections; - std::map<std::string,map_stringitem_t> strPkgNames; - std::map<std::string,map_stringitem_t> strVersions; + std::unordered_map<std::string,map_stringitem_t> strMixed; + std::unordered_map<std::string,map_stringitem_t> strSections; + std::unordered_map<std::string,map_stringitem_t> strPkgNames; + std::unordered_map<std::string,map_stringitem_t> strVersions; friend class pkgCacheListParser; typedef pkgCacheListParser ListParser; |