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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user