]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/p-col.cc
release: 0.0.70pre
[lilypond.git] / lily / p-col.cc
index f55ea2452b9520086d29141598b58acaaee6ea05..eb7a78ef10412f34cafa9e3c8a8029124cf7b494 100644 (file)
@@ -27,10 +27,7 @@ void
 PCol::clean_breakable_items()
 {
     if (!line_l_) {
-       for(iter(its.top(), j); j.ok(); ) {
-           j->unlink();
-           j.del();
-       }
+       its.junk_links();
     }
     if (prebreak_p_) prebreak_p_->clean_breakable_items();
     if (postbreak_p_) postbreak_p_->clean_breakable_items();