summaryrefslogtreecommitdiff
path: root/include/bancache.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-04-01 09:50:50 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-04-01 09:50:50 -0700
commit66b90807bb94d88c8a34ec8a1fd7c1558941c47a (patch)
treeb2147238c609c5b1733c518b1b932b0e40ddb8a0 /include/bancache.h
parent80e88c163dbd77b06b61d4fd734d51249cc0e172 (diff)
parentfd655fa93a00a5f2993adb7ef562b6dbab8aa87c (diff)
Merge pull request #452 from SaberUK/master+nuke-hashmap
Purge the deprecated hash_map from existance.
Diffstat (limited to 'include/bancache.h')
-rw-r--r--include/bancache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bancache.h b/include/bancache.h
index a7aac7f17..a99e97856 100644
--- a/include/bancache.h
+++ b/include/bancache.h
@@ -65,7 +65,7 @@ class CoreExport BanCacheHit
/* A container of ban cache items.
* must be defined after class BanCacheHit.
*/
-typedef nspace::hash_map<std::string, BanCacheHit*, nspace::hash<std::string> > BanCacheHash;
+typedef std::tr1::unordered_map<std::string, BanCacheHit*, std::tr1::hash<std::string> > BanCacheHash;
/** A manager for ban cache, which allocates and deallocates and checks cached bans.
*/