]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / tie-engraver.cc
index a52a2c73b30b4595b2f511d9ccc6c641c0c84788..39be6c057f034d8015cd12e96ea9edc1480a23b4 100644 (file)
@@ -48,9 +48,9 @@ struct Head_event_tuple
 class Tie_engraver : public Engraver
 {
   Music *event_;
-  Link_array<Grob> now_heads_;
-  std::vector<Head_event_tuple> heads_to_tie_;
-  Link_array<Grob> ties_;
+  vector<Grob*> now_heads_;
+  vector<Head_event_tuple> heads_to_tie_;
+  vector<Grob*> ties_;
 
   Spanner *tie_column_;
 
@@ -121,7 +121,7 @@ Tie_engraver::acknowledge_note_head (Grob_info i)
          Tie::set_head (p, RIGHT, h);
 
          ties_.push_back (p);
-         heads_to_tie_.del (i);
+         heads_to_tie_.erase (heads_to_tie_.begin () + i);
        }
     }