]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/output-property-engraver.cc
* lily/beaming-info.cc (beamify): new function: read beatLength
[lilypond.git] / lily / output-property-engraver.cc
index ba2f229576f51abe5844dcd037ac3404fa4ef0a1..74ee4494117904040680d2d5ee65100e247dcead 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
   
  */
 
@@ -18,7 +18,7 @@ class Output_property_engraver : public Engraver
 {
   TRANSLATOR_DECLARATIONS (Output_property_engraver);
 protected:
-  Link_array<Music> props_;
+  vector<Music*> props_;
   DECLARE_ACKNOWLEDGER (grob)
 
   void stop_translation_timestep ();
@@ -31,7 +31,7 @@ Output_property_engraver::try_music (Music* m)
 {
   if (m->is_mus_type ("layout-instruction"))
     {
-      props_.push (m);
+      props_.push_back (m);
       return true;
     }
   return false;
@@ -40,7 +40,7 @@ Output_property_engraver::try_music (Music* m)
 void
 Output_property_engraver::acknowledge_grob (Grob_info inf)
 {
-  for (int i = props_.size (); i--;)
+  for (vsize i = props_.size (); i--;)
     {
       Music *o = props_[i];
       Context *d = inf.context ();