]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-grouper-interface.cc
Web-ja: update introduction
[lilypond.git] / lily / staff-grouper-interface.cc
index 0b0dcd38d2f5d88a242b3461f1616f762bb3ec9f..55162c2bc7cc0cc13a7000351c2f46e879452b0a 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2009--2014 Joe Neeman <joeneeman@gmail.com>
+  Copyright (C) 2009--2015 Joe Neeman <joeneeman@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@ Staff_grouper_interface::maybe_pure_within_group (Grob *me, Grob *child, bool pu
     if (Page_layout_problem::is_spaceable (*i)
         && ((pure && !Hara_kiri_group_spanner::request_suicide (*i, start, end))
             || (!pure && (*i)->is_live ())))
-      return me == Grob::unsmob ((*i)->get_object ("staff-grouper"));
+      return me == unsmob<Grob> ((*i)->get_object ("staff-grouper"));
 
   // If there was no spaceable, living child after me, I don't
   // count as within the group.