1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 03:26:38 +02:00

This code isn't used

This commit is contained in:
Adam
2012-10-25 23:44:34 -04:00
parent bbe667dc74
commit 727b35536f
-16
View File
@@ -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; }