]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.70pre
authorfred <fred>
Sun, 24 Mar 2002 19:40:55 +0000 (19:40 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:40:55 +0000 (19:40 +0000)
flower/include/list.tcc

index e3fa43cdd3346677a03e2a16097832bd86e69857..4c83034d822ff02050f6ea6754577c7276c86150 100644 (file)
@@ -39,15 +39,21 @@ List<T>::OK() const
     assert(!lp);
 }
 
-
 template<class T>
-List<T>::~List()
+void
+List<T>::junk_links()
 {
     Cursor<T> c(*this);
     while (c.ok())
        c.del();
 }
 
+template<class T>
+List<T>::~List()
+{
+    junk_links();
+}
+
 /** 
 
   add after after_me.