]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rhythmic-column-engraver.cc
don't use guile -e main execution.
[lilypond.git] / lily / rhythmic-column-engraver.cc
index d40de198def195a9a92113146d8e30f3557444e1..9543fcc92f1e45d83fcff5010f29f6025c4180f2 100644 (file)
@@ -41,7 +41,7 @@
 
 class Rhythmic_column_engraver : public Engraver
 {
-  Link_array<Grob> rheads_;
+  vector<Grob*> rheads_;
   Grob *stem_;
   Grob *note_column_;
   Grob *dotcol_;
@@ -101,12 +101,12 @@ Rhythmic_column_engraver::process_acknowledged ()
          add_spacing_item (note_column_);
        }
 
-      for (int i = 0; i < rheads_.size (); i++)
+      for (vsize i = 0; i < rheads_.size (); i++)
        {
          if (!rheads_[i]->get_parent (X_AXIS))
            Note_column::add_head (note_column_, rheads_[i]);
        }
-      rheads_.set_size (0);
+      rheads_.resize (0);
     }
 
   if (note_column_)
@@ -133,7 +133,7 @@ Rhythmic_column_engraver::acknowledge_stem (Grob_info i)
 void
 Rhythmic_column_engraver::acknowledge_rhythmic_head (Grob_info i)
 {
-  rheads_.push (i.grob ());
+  rheads_.push_back (i.grob ());
 }
 
 void
@@ -164,6 +164,5 @@ ADD_ACKNOWLEDGER (Rhythmic_column_engraver, rhythmic_head);
 ADD_TRANSLATOR (Rhythmic_column_engraver,
                /* doc */ "Generates NoteColumn, an objects that groups stems, noteheads and rests.",
                /* create */ "NoteColumn NoteSpacing",
-               /* accept */ "",
                /* read */ "",
                /* write */ "");