]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-array.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / grob-array.cc
index f9982f15149339041b4b9faabc2e7b280bbc4afb..dff5102a83c776406473e5ba60ed4ae6e54e8ee7 100644 (file)
@@ -83,8 +83,11 @@ Grob_array::clear ()
 }
 
 void
-Grob_array::uniq ()
+Grob_array::remove_duplicates ()
 {
+  assert (!ordered_);
+  
+  vector_sort (grobs_, default_compare);
   ::uniq (grobs_);
 }