1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 04:43: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
+1 -1
View File
@@ -134,7 +134,7 @@ class CommandOSSession : public Command
source.Reply(OPER_SESSION_LIST_HEADER, mincount);
source.Reply(OPER_SESSION_LIST_COLHEAD);
for (patricia_tree<Session *>::const_iterator it = SessionList.begin(), it_end = SessionList.end(); it != it_end; ++it)
for (patricia_tree<Session *>::iterator it(SessionList); it.next();)
{
Session *session = *it;