From: fred Date: Sun, 24 Mar 2002 19:40:55 +0000 (+0000) Subject: lilypond-0.0.70pre X-Git-Tag: release/1.5.59~4861 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6110f2dded7c6f4907b6c35903bf787ef90fc9d7;p=lilypond.git lilypond-0.0.70pre --- diff --git a/flower/include/list.tcc b/flower/include/list.tcc index e3fa43cdd3..4c83034d82 100644 --- a/flower/include/list.tcc +++ b/flower/include/list.tcc @@ -39,15 +39,21 @@ List::OK() const assert(!lp); } - template -List::~List() +void +List::junk_links() { Cursor c(*this); while (c.ok()) c.del(); } +template +List::~List() +{ + junk_links(); +} + /** add after after_me.