mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Clipper2: fix a compil warning with gcc 14 (already fixed in Clipper2 repo)
This commit is contained in:
parent
3aa5c1885f
commit
a53dd998b9
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user