mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-13 04:29:03 -04:00
Make it more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
782bbf7622
commit
51924df0a8
@ -91,8 +91,8 @@ size_t nspace::hash<string>::operator()(const string &s) const
|
||||
size_t t = 0;
|
||||
static struct hash<const char *> strhash;
|
||||
|
||||
for (const char* x = s.c_str(); *x; x++, t++) /* Faster to do it this way than */
|
||||
a[t] = lowermap[(unsigned char)*x]; /* Seperate strlcpy and strlower */
|
||||
for (const char* x = s.c_str(); *x; x++) /* Faster to do it this way than */
|
||||
a[t++] = lowermap[(unsigned char)*x]; /* Seperate strlcpy and strlower */
|
||||
|
||||
a[t] = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user