]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/cluster-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / cluster-engraver.cc
index c5eecd6b9ca03279621596d5323e65c44db5add6..faac5f79d0c90c5e66e82cbc0f9c41aa089f9c77 100644 (file)
@@ -24,7 +24,7 @@ protected:
   void stop_translation_timestep ();
   virtual void finalize ();
 private:
-  Link_array<Music> cluster_notes_;
+  vector<Music*> cluster_notes_;
   Item *beacon_;
 
   void typeset_grobs ();
@@ -60,7 +60,7 @@ Cluster_spanner_engraver::try_music (Music *m)
 {
   if (m->is_mus_type ("cluster-note-event"))
     {
-      cluster_notes_.push (m);
+      cluster_notes_.push_back (m);
       return true;
     }
   else if (m->is_mus_type ("busy-playing-event"))
@@ -80,7 +80,7 @@ Cluster_spanner_engraver::process_music ()
       int pmax = INT_MIN;
       int pmin = INT_MAX;
 
-      for (int i = 0; i < cluster_notes_.size (); i++)
+      for (vsize i = 0; i < cluster_notes_.size (); i++)
        {
          Pitch *pit = unsmob_pitch (cluster_notes_[i]->get_property ("pitch"));