X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Ftab-note-heads-engraver.cc;h=dbd6fa85175ea2d23efaf9a638226cb982053afb;hb=27945b310409e8e0e76ceffc5aa34851448239b8;hp=91a3ba3fc701cd7e2c754a9feb1206196627f496;hpb=5cda9afcf33032bd953c9fc1dd147822177cdddb;p=lilypond.git diff --git a/lily/tab-note-heads-engraver.cc b/lily/tab-note-heads-engraver.cc index 91a3ba3fc7..dbd6fa8517 100644 --- a/lily/tab-note-heads-engraver.cc +++ b/lily/tab-note-heads-engraver.cc @@ -41,10 +41,9 @@ using namespace std; */ class Tab_note_heads_engraver : public Engraver { - vector notes_; - vector note_events_; vector tabstring_events_; + public: TRANSLATOR_DECLARATIONS (Tab_note_heads_engraver); @@ -116,21 +115,19 @@ Tab_note_heads_engraver::process_music () context ()->self_scm (), string_number); note->set_property ("staff-position", staff_position); - notes_.push_back (note); } } void Tab_note_heads_engraver::stop_translation_timestep () { - notes_.clear (); note_events_.clear (); tabstring_events_.clear (); } ADD_TRANSLATOR (Tab_note_heads_engraver, /* doc */ - "Generate one or more tablature noteheads from event of type" + "Generate one or more tablature note heads from event of type" " @code{NoteEvent}.", /* create */