From e988ac11a2fb6f8db35f2e645e519678135c1587 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 17 Apr 2009 21:47:30 +0000 Subject: 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 --- include/cull_list.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3