mirror of
https://github.com/anope/anope.git
synced 2026-07-03 17:23:14 +02:00
Added patricia_tree::iterator
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ void get_session_stats(long &count, long &mem)
|
||||
count = SessionList.size();
|
||||
mem = sizeof(Session) * SessionList.size();
|
||||
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user