diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-17 21:47:30 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-04-17 21:47:30 +0000 |
commit | e988ac11a2fb6f8db35f2e645e519678135c1587 (patch) | |
tree | 008546a1d7feb37ca6410e09c6dc39a250e7a899 /include | |
parent | 83c2e15a7de4abed1e286d9e0758a9d92ddbb480 (diff) |
Fix CullList to not use O(n^2) version of vector clear
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11312 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/cull_list.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cull_list.h b/include/cull_list.h index 3a78bf96d..2a0b895f2 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -66,9 +66,8 @@ class CoreExport CullList : public classbase * iterating the user list and comparing each one, * especially if there are multiple comparisons * to be done, or recursion. - * @returns The number of users removed from IRC. */ - int Apply(); + void Apply(); }; #endif |