1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 01:46:39 +02:00

The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.

This commit is contained in:
Naram Qashat
2010-06-20 18:42:58 -04:00
parent 2528dc80bd
commit 381c9c8870
98 changed files with 3799 additions and 4064 deletions
+3 -6
View File
@@ -6,8 +6,6 @@
*
* These classes have been copied from InspIRCd and modified
* for use in Anope.
*
*
*/
#include "services.h"
@@ -175,7 +173,7 @@ size_t hash_compare_std_string::operator()(const std::string &s) const
for (std::string::const_iterator it = s.begin(); it != s.end(); ++it)
t = 5 * t + static_cast<const unsigned char>(*it);
return t;
}
@@ -189,7 +187,7 @@ size_t hash_compare_ci_string::operator()(const ci::string &s) const
for (ci::string::const_iterator it = s.begin(); it != s.end(); ++it)
t = 5 * t + ascii_case_insensitive_map[static_cast<const unsigned char>(*it)];
return t;
}
@@ -203,7 +201,6 @@ size_t hash_compare_irc_string::operator()(const irc::string &s) const
for (irc::string::const_iterator it = s.begin(); it != s.end(); ++it)
t = 5 * t + rfc_case_insensitive_map[static_cast<const unsigned char>(*it)];
return t;
}