1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 19:13:12 +02:00

Allow the patricia tree to store non-pointers

This commit is contained in:
Adam
2010-11-21 00:20:36 -05:00
parent 246f44b988
commit 7790a7f98c
26 changed files with 47 additions and 52 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ Server::~Server()
if (Capab.HasFlag(CAPAB_NOQUIT) || Capab.HasFlag(CAPAB_QS))
{
for (patricia_tree<User>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end;)
for (patricia_tree<User *>::const_iterator it = UserListByNick.begin(), it_end = UserListByNick.end(); it != it_end;)
{
User *u = *it;
++it;