]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-line.cc
Fix compilation with g++ 4.5
[lilypond.git] / lily / bar-line.cc
index 18ad550e9209e0e3b8f5ad026f324ffd4d6c099a..c9d9159a4cfff26591f12404053947c623ef6cba 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "bar-line.hh"
@@ -200,7 +200,7 @@ Bar_line::compound_barline (Grob *me, string str, Real h,
     }
   else if (str == "'")
     {
-      m = tick_bar_line (me, hair, h, rounded);
+      m = tick_bar_line (me, h, rounded);
     }
   else if (str == ".")
     {
@@ -227,7 +227,7 @@ Bar_line::simple_barline (Grob *me,
 }
 
 Stencil
-Bar_line::tick_bar_line (Grob *me, Real w, Real h, bool rounded)
+Bar_line::tick_bar_line (Grob *me, Real h, bool rounded)
 {
   Real th = Staff_symbol_referencer::staff_space (me) / 2;
   Real line_thick = Staff_symbol_referencer::line_thickness (me);