Fix clear() function in ExtendFindEnum (#335), backport of [28c7ad6f8d91] 1.1
authorBalazs Dezso <deba@inf.elte.hu>
Thu, 10 Dec 2009 09:14:47 +0100
branch1.1
changeset 710268a052c3043
parent 709 76689f2fc02d
child 712 91d50cfe924e
Fix clear() function in ExtendFindEnum (#335), backport of [28c7ad6f8d91]
lemon/unionfind.h
     1.1 --- a/lemon/unionfind.h	Thu Dec 10 17:10:25 2009 +0100
     1.2 +++ b/lemon/unionfind.h	Thu Dec 10 09:14:47 2009 +0100
     1.3 @@ -739,7 +739,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