/** DNS cache information. Holds IPs mapped to hostnames, and hostnames mapped to IPs.
*/
-#if defined(WINDOWS) && !defined(HASHMAP_DEPRECATED)
-typedef nspace::hash_map<irc::string, CachedQuery, nspace::hash_compare<irc::string> > dnscache;
-#else
-typedef nspace::hash_map<irc::string, CachedQuery, irc::hash> dnscache;
-#endif
+typedef std::tr1::unordered_map<irc::string, CachedQuery, irc::hash> dnscache;
/**
* Error types that class Resolver can emit to its error method.
*/
static const int MAX_REQUEST_ID = 0xFFFF;
- /**
- * A counter used to form part of the pseudo-random id
- */
- int currid;
-
/**
* Currently cached items
*/