From 727b35536f6efc19a76b84d2a8142ba494c1e9d6 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 25 Oct 2012 23:44:34 -0400 Subject: [PATCH] This code isn't used --- include/anope.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/include/anope.h b/include/anope.h index 3c13d68ab..421f688ef 100644 --- a/include/anope.h +++ b/include/anope.h @@ -280,22 +280,6 @@ namespace Anope friend std::ostream &operator<<(std::ostream &os, const string &_str); }; - /** Hash an Anope::string for unorderd_map, passed as the third template arg to unordered_map - */ - struct hash - { - /* VS 2008 specific code */ - enum { bucket_size = 4, min_buckets = 8 }; - bool operator()(const string &s1, const string &s2) const; - /* End of 2008 specific code */ - - /** Hash an Anope::string for unordered_map - * @param s The string - * @return A hash value for the string - */ - bool operator()(const string &s) const; - }; - inline std::ostream &operator<<(std::ostream &os, const string &_str) { return os << _str._string; } inline const string operator+(char chr, const string &str) { string tmp(chr); tmp += str; return tmp; }