Fix clear() function in ExtendFindEnum (#335), backport of [28c7ad6f8d91] 1.0
authorBalazs Dezso <deba@inf.elte.hu>
Thu, 10 Dec 2009 09:14:47 +0100
branch1.0
changeset 408cf0c1b85618c
parent 407 2e9655402778
child 410 07800ca13a80
Fix clear() function in ExtendFindEnum (#335), backport of [28c7ad6f8d91]
lemon/unionfind.h
     1.1 --- a/lemon/unionfind.h	Thu Dec 10 16:56:26 2009 +0100
     1.2 +++ b/lemon/unionfind.h	Thu Dec 10 09:14:47 2009 +0100
     1.3 @@ -733,7 +733,7 @@
     1.4      /// Erase each item from the data structure.
     1.5      void clear() {
     1.6        items.clear();
     1.7 -      classes.clear;
     1.8 +      classes.clear();
     1.9        firstClass = firstFreeClass = firstFreeItem = -1;
    1.10      }
    1.11