diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-15 16:45:42 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-04-19 01:34:07 +0100 |
commit | 0d3a6719b8d924ea663f95e3e2fb834cbd80c6a5 (patch) | |
tree | d16a152c375232039ce2243145c57d3bb4aed525 /include/bancache.h | |
parent | 326852f7dd3fd6989d37ad2991f8a174b3a86b65 (diff) |
Fix building with libc++.
- Purged std::tr1::strlower (was never used).
- Moved std::tr1::insensitive to irc::insensitive.
- Added TR1NS macro to point to the correct C++ TR1 namespace.
Diffstat (limited to 'include/bancache.h')
-rw-r--r-- | include/bancache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bancache.h b/include/bancache.h index 450f711c4..7f51ca75e 100644 --- a/include/bancache.h +++ b/include/bancache.h @@ -51,7 +51,7 @@ class CoreExport BanCacheHit /* A container of ban cache items. * must be defined after class BanCacheHit. */ -typedef std::tr1::unordered_map<std::string, BanCacheHit*, std::tr1::hash<std::string> > BanCacheHash; +typedef TR1NS::unordered_map<std::string, BanCacheHit*, TR1NS::hash<std::string> > BanCacheHash; /** A manager for ban cache, which allocates and deallocates and checks cached bans. */ |