# HG changeset patch # User Balazs Dezso # Date 2009-12-10 09:14:47 # Node ID cf0c1b85618cfa93dad2d29a715d21cc09f35966 # Parent 2e965540277828a161e79095450a4e6f06ff1dab Fix clear() function in ExtendFindEnum (#335), backport of [28c7ad6f8d91] diff --git a/lemon/unionfind.h b/lemon/unionfind.h --- a/lemon/unionfind.h +++ b/lemon/unionfind.h @@ -733,7 +733,7 @@ /// Erase each item from the data structure. void clear() { items.clear(); - classes.clear; + classes.clear(); firstClass = firstFreeClass = firstFreeItem = -1; }