]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-hyphen.cc
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / lily / lyric-hyphen.cc
index 029391f92f681fbe3e144efa7c66444c0da20fd4..236e7e315aef9d0c5f234010f820333ba80ee5b5 100644 (file)
@@ -81,7 +81,7 @@ Lyric_hyphen::print (SCM smob)
       && !bounds[RIGHT]->break_status_dir ())
     {
       Real minimum_length = robust_scm2double (me->get_property ("minimum-length"), .3);
-      dash_length = max ((l - 2 * padding), minimum_length);
+      dash_length = std::max ((l - 2 * padding), minimum_length);
     }
 
   Real space_left = l - dash_length - (n - 1) * dash_period;
@@ -94,7 +94,7 @@ Lyric_hyphen::print (SCM smob)
       && !bounds[RIGHT]->break_status_dir ())
     return SCM_EOL;
 
-  space_left = max (space_left, 0.0);
+  space_left = std::max (space_left, 0.0);
 
   Box b (Interval (0, dash_length), Interval (h, h + th));
   Stencil dash_mol (Lookup::round_filled_box (b, 0.8 * lt));