Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1930)

Unified Diff: lily/hairpin.cc

Issue 579240043: Issue 4550: Avoid "using namespace std;" in included files (Take 2) (Closed)
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lily/hairpin.cc
diff --git a/lily/hairpin.cc b/lily/hairpin.cc
index 847d5405eba71b4bc4c8ad769b2bc1a18bb55b78..c14efc1c5f90f36f1e10b849f1510a5668a8a9f2 100644
--- a/lily/hairpin.cc
+++ b/lily/hairpin.cc
@@ -179,7 +179,7 @@ Hairpin::print (SCM smob)
{
Spanner *span_elt = dynamic_cast<Spanner *> (chp[i]);
if (span_elt->get_bound (RIGHT)->break_status_dir () == LEFT)
- broken_bound_padding = max (broken_bound_padding,
+ broken_bound_padding = std::max (broken_bound_padding,
robust_scm2double (span_elt->get_property ("broken-bound-padding"), 0.0));
}
x_points[d] -= d * broken_bound_padding;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b