X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Faudio-element-info.cc;h=de69162ef0185a03e80202aaa58bb7fd92bb6c1f;hb=eee5583d9b8b6ff3187060aa48120e4544d2af58;hp=80f9b42b11d1692d06370e814e5c03e6c209c87b;hpb=e18531db1f79fb685fbd16d6a2a67bf4b6c09915;p=lilypond.git diff --git a/lily/audio-element-info.cc b/lily/audio-element-info.cc index 80f9b42b11..de69162ef0 100644 --- a/lily/audio-element-info.cc +++ b/lily/audio-element-info.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2010 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,6 +22,8 @@ #include "translator-group.hh" #include "context.hh" +using std::vector; + Audio_element_info::Audio_element_info (Audio_element *s, Stream_event *r) { elem_ = s; @@ -36,11 +38,11 @@ Audio_element_info::Audio_element_info () origin_trans_ = 0; } -vector +vector Audio_element_info::origin_contexts (Translator *end) const { Context *t = origin_trans_->context (); - vector r; + vector r; do { r.push_back (t);