]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-array.cc
Run grand-replace (issue 3765)
[lilypond.git] / lily / grob-array.cc
index 62d071cee17a03d69a5639c05d3ea318276f6682..a47d222e8123f6d706c6392a4900d07dd94e552a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -98,8 +98,7 @@ Grob_array::remove_duplicates ()
 {
   assert (!ordered_);
 
-  vector_sort (grobs_, less<Grob *> ());
-  ::uniq (grobs_);
+  uniquify (grobs_);
 }
 
 bool