Changeset 914:174490f545f8 in lemon-0.x
- Timestamp:
- 09/28/04 12:32:23 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1225
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/unionfind.h
r906 r914 447 447 return false; 448 448 449 ItemList &c = *clit->my_class; 449 ItemList &cl = *clit->my_class, 450 &al = *lai->my_class; 450 451 451 452 bool is_leader = (lai == ai); … … 456 457 } 457 458 458 c .splice(c.end(), *lai->my_class, ai);459 cl.splice(cl.end(), al, ai); 459 460 460 461 if (is_leader) { … … 469 470 } 470 471 if (!singleton) { 471 for (IIter i = lai; i != lai->my_class->end(); ++i)472 for (IIter i = lai; i != al.end(); ++i) 472 473 i->parent = lai; 473 474 --lai->size;
Note: See TracChangeset
for help on using the changeset viewer.