]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/music-wrapper-iterator.cc
patch::: 1.1.25.jcn1: jcn1
[lilypond.git] / lily / music-wrapper-iterator.cc
index d5ed47629c241bc482e4a7bde8338bfca3355d8d..33fd876c38f8c7652b08ab25c724268918c877da 100644 (file)
@@ -27,7 +27,7 @@ Music_wrapper_iterator::do_print () const
 void
 Music_wrapper_iterator::construct_children ()
 {
-  child_iter_p_ = get_iterator_p (music_wrapper_l ()->element_p_);  
+  child_iter_p_ = get_iterator_p (music_wrapper_l ()->element_l ());  
 }
 
 Music_wrapper_iterator::~Music_wrapper_iterator ()
@@ -36,10 +36,11 @@ Music_wrapper_iterator::~Music_wrapper_iterator ()
 }
 
 Music_wrapper*
-Music_wrapper_iterator::music_wrapper_l ()
+Music_wrapper_iterator::music_wrapper_l () const
 {
   return (Music_wrapper*) music_l_;
 }
+
 bool
 Music_wrapper_iterator::ok () const
 {