]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch-squash-engraver.cc
Issue 4865/2: Rewrite of new translator initializations
[lilypond.git] / lily / pitch-squash-engraver.cc
index d52b02dee9aa46d012e90dc04e22ad5453c7142f..5d403c79e4a0055e0102766283816ce93e270d4f 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -44,7 +44,12 @@ Pitch_squash_engraver::Pitch_squash_engraver ()
 }
 
 #include "translator.icc"
-ADD_ACKNOWLEDGER (Pitch_squash_engraver, note_head);
+void
+Pitch_squash_engraver::boot ()
+{
+  ADD_ACKNOWLEDGER (Pitch_squash_engraver, note_head);
+}
+
 ADD_TRANSLATOR (Pitch_squash_engraver,
                 /* doc */
                 "Set the vertical position of note heads to"