]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/axis-group-interface-scheme.cc
Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / axis-group-interface-scheme.cc
index 1289160891c615f617f41cf1917ca127e41a4602..bc1449f8da1f34db0e0f8633131f14e44d46f7b8 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "axis-group-interface.hh"
@@ -22,11 +22,11 @@ LY_DEFINE (ly_relative_group_extent, "ly:relative-group-extent",
   SCM_ASSERT_TYPE (unsmob_grob (common), common, SCM_ARG2, __FUNCTION__, "grob");
   SCM_ASSERT_TYPE (is_axis (axis), axis, SCM_ARG3, __FUNCTION__, "axis");
 
-  Link_array<Grob> elts;
+  vector<Grob*> elts;
   if (!ga)
     {
       for (SCM s = elements; scm_is_pair (s); s = scm_cdr (s))
-       elts.push (unsmob_grob (scm_car (s)));
+       elts.push_back (unsmob_grob (scm_car (s)));
     }
 
   Interval ext = Axis_group_interface::relative_group_extent (ga ? ga->array () : elts,