]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/typedefs.h
Convert LocalUserList to an intrusively linked list
[user/henk/code/inspircd.git] / include / typedefs.h
index 050707e73e38b73337f5534c51f345808bb7f8f2..067768db4e2d703f3aea955ee4de1e11a11e8de1 100644 (file)
@@ -57,7 +57,7 @@ typedef TR1NS::unordered_map<std::string, Channel*, irc::insensitive, irc::StrHa
 
 /** A list holding local users, this is the type of UserManager::local_users
  */
-typedef std::list<LocalUser*> LocalUserList;
+typedef intrusive_list<LocalUser> LocalUserList;
 
 /** A list of failed port bindings, used for informational purposes on startup */
 typedef std::vector<std::pair<std::string, std::string> > FailedPortList;