X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faudio-element-info.cc;h=bcae088b678bca9f3c4dfeda561d5f26c8bd6426;hb=431029da44663278375c19cddd8c243afe98f473;hp=2b0f2c3fee9bbf0a1002823a64213f6c50bd48bf;hpb=545092a25d8ca41dc90b87482474b3719f7130a9;p=lilypond.git diff --git a/lily/audio-element-info.cc b/lily/audio-element-info.cc index 2b0f2c3fee..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 ());