diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-04-01 09:50:50 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-04-01 09:50:50 -0700 |
commit | 66b90807bb94d88c8a34ec8a1fd7c1558941c47a (patch) | |
tree | b2147238c609c5b1733c518b1b932b0e40ddb8a0 /src/modules/m_spanningtree | |
parent | 80e88c163dbd77b06b61d4fd734d51249cc0e172 (diff) | |
parent | fd655fa93a00a5f2993adb7ef562b6dbab8aa87c (diff) |
Merge pull request #452 from SaberUK/master+nuke-hashmap
Purge the deprecated hash_map from existance.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/utils.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h index 7d5ffa216..0d44cd24f 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -36,11 +36,7 @@ class SpanningTreeUtilities; /* This hash_map holds the hash equivalent of the server * tree, used for rapid linear lookups. */ -#ifdef HASHMAP_DEPRECATED - typedef nspace::hash_map<std::string, TreeServer*, nspace::insensitive, irc::StrHashComp> server_hash; -#else - typedef nspace::hash_map<std::string, TreeServer*, nspace::hash<std::string>, irc::StrHashComp> server_hash; -#endif +typedef std::tr1::unordered_map<std::string, TreeServer*, std::tr1::insensitive, irc::StrHashComp> server_hash; typedef std::map<TreeServer*,TreeServer*> TreeServerList; |