1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 16:03:12 +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
@@ -826,7 +826,7 @@ class DBPlain : public Module
FOREACH_MOD(I_OnDatabaseWriteMetadata, OnDatabaseWriteMetadata(WriteMetadata, na));
}
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;