X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-array.cc;h=1cebe0e458357ca6245be157d7694c969cde032d;hb=f11f32bd3a2944f0e5a66dc6d0849e667ab0bb7e;hp=dff5102a83c776406473e5ba60ed4ae6e54e8ee7;hpb=6052adfdab868601aab5c2847f7d4476d57dbc12;p=lilypond.git diff --git a/lily/grob-array.cc b/lily/grob-array.cc index dff5102a83..1cebe0e458 100644 --- a/lily/grob-array.cc +++ b/lily/grob-array.cc @@ -1,9 +1,20 @@ /* - grob-array.cc -- implement Grob_array + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2005--2010 Han-Wen Nienhuys - (c) 2005--2006 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "grob-array.hh" @@ -87,7 +98,7 @@ Grob_array::remove_duplicates () { assert (!ordered_); - vector_sort (grobs_, default_compare); + vector_sort (grobs_, less ()); ::uniq (grobs_); }