Clipper2: fix a compil warning with gcc 14 (already fixed in Clipper2 repo)

This commit is contained in:
jean-pierre charras 2024-05-21 19:56:49 +02:00
parent 3aa5c1885f
commit a53dd998b9
1 changed files with 23 additions and 23 deletions

View File

@ -136,7 +136,7 @@ namespace Clipper2Lib
} }
template <typename T2> template <typename T2>
explicit Point<T>(const Point<T2>& p) explicit Point(const Point<T2>& p)
{ {
Init(p.x, p.y, p.z); Init(p.x, p.y, p.z);
} }
@ -178,7 +178,7 @@ namespace Clipper2Lib
Point(const T2 x_, const T2 y_) { Init(x_, y_); } Point(const T2 x_, const T2 y_) { Init(x_, y_); }
template <typename T2> template <typename T2>
explicit Point<T>(const Point<T2>& p) { Init(p.x, p.y); } explicit Point(const Point<T2>& p) { Init(p.x, p.y); }
Point operator * (const double scale) const Point operator * (const double scale) const
{ {