X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmusic-wrapper-iterator.cc;h=e20a6261f5692e60d18fdc6624834c089a4a8277;hb=4e4a3b4106cb4982f0c06ca26bad2f2641c0382e;hp=ed29db0fb03e0ebadf6819312280057cc8328e83;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/music-wrapper-iterator.cc b/lily/music-wrapper-iterator.cc index ed29db0fb0..e20a6261f5 100644 --- a/lily/music-wrapper-iterator.cc +++ b/lily/music-wrapper-iterator.cc @@ -7,7 +7,6 @@ */ #include "music-wrapper-iterator.hh" - #include "music-wrapper.hh" Music_wrapper_iterator::Music_wrapper_iterator () @@ -38,7 +37,7 @@ Music_wrapper_iterator::derived_substitute (Context *f, Context *t) void Music_wrapper_iterator::construct_children () { - Music *m = dynamic_cast < Music_wrapper const *> (get_music ())-> element (); + Music *m = dynamic_cast (get_music ())->element (); child_iter_ = unsmob_iterator (get_iterator (m)); }