]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-tie-follow-engraver.cc
Issue 4865/2: Rewrite of new translator initializations
[lilypond.git] / lily / tab-tie-follow-engraver.cc
index fbc5f0c3b2cc7a5394310f3deccd4018c4462cf5..b8e9966862ee9eb83b3444e6156a6d2637dd1926 100644 (file)
@@ -30,8 +30,6 @@ using namespace std;
 
 #include "translator.icc"
 
-using std::vector;
-
 /*
    Change tab-note-head properties when a tie is followed by a
    slurs or glissando.
@@ -112,9 +110,14 @@ Tab_tie_follow_engraver::stop_translation_timestep ()
   note_heads_.clear ();
 }
 
-ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, slur);
-ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, glissando);
-ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, tab_note_head);
+
+void
+Tab_tie_follow_engraver::boot ()
+{
+  ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, slur);
+  ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, glissando);
+  ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, tab_note_head);
+}
 
 ADD_TRANSLATOR (Tab_tie_follow_engraver,
                 /* doc */