]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-performer.cc
Nitpick run.
[lilypond.git] / lily / note-performer.cc
index 3bdbcb0df33d4396c6e86dc0c92ca4d672b8801a..a8326dab36277406c3ac2a5a183b959c48d30add 100644 (file)
@@ -11,6 +11,7 @@
 #include "audio-column.hh"
 #include "global-context.hh"
 #include "warn.hh"
+#include "music.hh"
 
 /**
    Convert evs to audio notes.
@@ -23,7 +24,7 @@ public:
 protected:
   virtual bool try_music (Music *ev);
 
-  virtual void stop_translation_timestep ();
+  void stop_translation_timestep ();
   virtual void create_audio_elements ();
 
 private:
@@ -66,9 +67,7 @@ Note_performer::stop_translation_timestep ()
   // --> grace notes effectively do not get delayed
   Moment now = now_mom ();
   for (int i = 0; i < notes_.size (); i++)
-    {
-      play_element (notes_[i]);
-    }
+    play_element (notes_[i]);
   notes_.clear ();
   note_evs_.clear ();
 }
@@ -87,8 +86,11 @@ Note_performer::try_music (Music *ev)
   return false;
 }
 
+#include "translator.icc"
+
 ADD_TRANSLATOR (Note_performer, "", "",
-               "note-event busy-playing-event", "", "", "");
+               "note-event busy-playing-event",
+               "", "");
 
 Note_performer::Note_performer ()
 {