aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2013-04-15 16:45:42 +0100
committerGravatar Peter Powell2013-04-19 01:34:07 +0100
commit0d3a6719b8d924ea663f95e3e2fb834cbd80c6a5 (patch)
treed16a152c375232039ce2243145c57d3bb4aed525 /src/modules/m_watch.cpp
parentFix Windows build (diff)
downloadinspircd++-0d3a6719b8d924ea663f95e3e2fb834cbd80c6a5.tar.gz
inspircd++-0d3a6719b8d924ea663f95e3e2fb834cbd80c6a5.tar.bz2
inspircd++-0d3a6719b8d924ea663f95e3e2fb834cbd80c6a5.zip
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 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index 60ea79a83..fdb20be2d 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -92,12 +92,7 @@
* of users using WATCH.
*/
-/*
- * Before you start screaming, this definition is only used here, so moving it to a header is pointless.
- * Yes, it's horrid. Blame cl for being different. -- w00t
- */
-
-typedef std::tr1::unordered_map<irc::string, std::deque<User*>, irc::hash> watchentries;
+typedef TR1NS::unordered_map<irc::string, std::deque<User*>, irc::hash> watchentries;
typedef std::map<irc::string, std::string> watchlist;
/* Who's watching each nickname.