From 0b460e6f324aa72cdbfb4143918971d582f62a77 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Feb 2007 19:56:35 +0000 Subject: 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 --- include/hashcomp.h | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'include/hashcomp.h') 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 - { - /** 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 @@ -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 -- cgit v1.2.3