]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/drum-note-performer.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / drum-note-performer.cc
index dd83e6699f2b2b9a37812952ab22506f6e3c8cb2..a29b7a1dee7986a512317066d44f61c7e603fd92 100644 (file)
@@ -25,8 +25,8 @@ protected:
   void process_music ();
 
 private:
-  Link_array<Music> note_evs_;
-  Link_array<Audio_note> notes_;
+  vector<Music*> note_evs_;
+  vector<Audio_note*> notes_;
 };
 
 Drum_note_performer::Drum_note_performer ()
@@ -40,7 +40,8 @@ Drum_note_performer::process_music ()
 
   while (note_evs_.size ())
     {
-      Music *n = note_evs_.pop ();
+      Music *n = note_evs_.back ();
+      note_evs_.pop_back ();
       SCM sym = n->get_property ("drum-type");
       SCM defn = SCM_EOL;