summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/anope.h16
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; }