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

Unified Diff: lily/include/bezier.hh

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/include/bezier.hh
diff --git a/lily/include/bezier.hh b/lily/include/bezier.hh
index cf9d7823c07cdfc45084aab7f4b3c4542bc7eae1..38faeb8577d3ef248812659a2cb39e9bdb7a66ca 100644
--- a/lily/include/bezier.hh
+++ b/lily/include/bezier.hh
@@ -39,10 +39,10 @@ public:
Bezier extract (Real, Real) const;
Real get_other_coordinate (Axis a, Real x) const;
- vector<Real> get_other_coordinates (Axis a, Real x) const;
- vector<Real> solve_point (Axis, Real coordinate) const;
+ std::vector<Real> get_other_coordinates (Axis a, Real x) const;
+ std::vector<Real> solve_point (Axis, Real coordinate) const;
Real minmax (Axis, Real, Real, Direction) const;
- vector<Real> solve_derivative (Offset) const;
+ std::vector<Real> solve_derivative (Offset) const;
Interval extent (Axis) const;
Interval control_point_extent (Axis) const;
@@ -55,15 +55,15 @@ public:
/*
Bezier curves always have 4 control points. Making this into an
- vector<> gives unnecessary overhead, and makes debugging a royal
+ std::vector<> gives unnecessary overhead, and makes debugging a royal
pain. */
Offset control_[4];
};
-void scale (vector<Offset> *array, Real xscale, Real yscale);
-void rotate (vector<Offset> *array, Real deg);
-void translate (vector<Offset> *array, Offset o);
+void scale (std::vector<Offset> *array, Real xscale, Real yscale);
+void rotate (std::vector<Offset> *array, Real deg);
+void translate (std::vector<Offset> *array, Offset o);
Bezier slur_shape (Real width, Real height_limit,
Real height_proportion);

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