diff options
author | Adam <Adam@anope.org> | 2012-10-25 23:44:34 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-25 23:44:34 -0400 |
commit | 727b35536f6efc19a76b84d2a8142ba494c1e9d6 (patch) | |
tree | 32ae7da250f756c9b0d87a271f18483c49814f63 /include/anope.h | |
parent | bbe667dc74f3443107d07b6b75037ca765faddcf (diff) |
This code isn't used
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 16 |
1 files changed, 0 insertions, 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; } |