1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 14:23:13 +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
+2 -2
View File
@@ -31,7 +31,7 @@ class CommandBSBotList : public Command
return MOD_CONT;
}
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;
@@ -48,7 +48,7 @@ class CommandBSBotList : public Command
{
source.Reply(BOT_BOTLIST_PRIVATE_HEADER);
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;