1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 18:06:39 +02:00

Added patricia_tree::iterator

This commit is contained in:
Adam
2011-01-28 23:09:25 -05:00
parent 3eadc1509f
commit e62664138b
25 changed files with 130 additions and 72 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ void get_botserv_stats(long *nrec, long *memuse)
{
long count = 0, mem = 0;
for (patricia_tree<BotInfo *>::const_iterator it = BotListByNick.begin(), it_end = BotListByNick.end(); it != it_end; ++it)
for (patricia_tree<BotInfo *, ci::ci_char_traits>::iterator it(BotListByNick); it.next();)
{
BotInfo *bi = *it;