summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-07 19:56:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-07 19:56:35 +0000
commit0b460e6f324aa72cdbfb4143918971d582f62a77 (patch)
tree25332570a9fe25b7b5f6f7c7e255d9dd7caceabd /include/hashcomp.h
parent24a6c24858d4ae3e747884f6486796d161d6c301 (diff)
Ident fixes,
removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index abcc1e94e..445c4c4ea 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -36,7 +36,6 @@
using namespace std;
using irc::sockets::insp_aton;
using irc::sockets::insp_ntoa;
-using irc::sockets::insp_inaddr;
#ifndef LOWERMAP
#define LOWERMAP
@@ -69,17 +68,6 @@ namespace nspace
*/
void strlower(char *n);
- /** Hashing function to hash insp_inaddr structs
- */
- template<> struct hash<insp_inaddr>
- {
- /** Hash an insp_inaddr
- * @param a An insp_inaddr to hash
- * @return The hash value
- */
- size_t operator()(const insp_inaddr &a) const;
- };
-
/** Hashing function to hash std::string without respect to case
*/
template<> struct hash<std::string>
@@ -109,17 +97,6 @@ namespace irc
};
- /** This class returns true if two insp_inaddr structs match.
- * Checking is done by copying both into a size_t then doing a
- * numeric comparison of the two.
- */
- struct InAddr_HashComp
- {
- /** The operator () does the actual comparison in hash_map
- */
- bool operator()(const insp_inaddr &s1, const insp_inaddr &s2) const;
- };
-
/** irc::stringjoiner joins string lists into a string, using
* the given seperator string.
* This class can join a vector of std::string, a deque of