X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faudio-element-info.cc;h=bcae088b678bca9f3c4dfeda561d5f26c8bd6426;hb=f0781acda2e0c2ef936a2c4c2f90b57f989faf6c;hp=22bde52662f98d1de2e979e581fcbc5f74a268bf;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/audio-element-info.cc b/lily/audio-element-info.cc index 22bde52662..bcae088b67 100644 --- a/lily/audio-element-info.cc +++ b/lily/audio-element-info.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #include "audio-element-info.hh" @@ -11,7 +11,7 @@ #include "translator-group.hh" #include "context.hh" -Audio_element_info::Audio_element_info (Audio_element *s, Music *r) +Audio_element_info::Audio_element_info (Audio_element *s, Stream_event *r) { elem_ = s; origin_trans_ = 0; @@ -25,14 +25,14 @@ Audio_element_info::Audio_element_info () origin_trans_ = 0; } -Link_array +vector Audio_element_info::origin_contexts (Translator *end) const { Context *t = origin_trans_->context (); - Link_array r; + vector r; do { - r.push (t); + r.push_back (t); t = t->get_parent_context (); } while (t && t != end->context ());