Skip to content

Commit 054ffb9

Browse files
author
minggo
authored
fixw warnings (#299)
1 parent 9effb6d commit 054ffb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

poly2tri/common/shapes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct Point {
5757
std::vector<Edge*> edge_list;
5858

5959
/// Construct using coordinates.
60-
Point(double x, double y) : x(x), y(y) {}
60+
Point(double x_, double y_) : x(x_), y(y_) {}
6161

6262
/// Set this point to all zeros.
6363
void set_zero()
@@ -320,4 +320,4 @@ inline void Triangle::IsInterior(bool b)
320320

321321
}
322322

323-
#endif
323+
#endif

0 commit comments

Comments
 (0)