summaryrefslogtreecommitdiffstats
path: root/thirdparty/clipper2/patches/gcc14-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/clipper2/patches/gcc14-warning.patch')
-rw-r--r--thirdparty/clipper2/patches/gcc14-warning.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/thirdparty/clipper2/patches/gcc14-warning.patch b/thirdparty/clipper2/patches/gcc14-warning.patch
new file mode 100644
index 0000000000..a4f06ef37e
--- /dev/null
+++ b/thirdparty/clipper2/patches/gcc14-warning.patch
@@ -0,0 +1,22 @@
+diff --git a/thirdparty/clipper2/include/clipper2/clipper.core.h b/thirdparty/clipper2/include/clipper2/clipper.core.h
+index a77cdad5f4..0de7c3720e 100644
+--- a/thirdparty/clipper2/include/clipper2/clipper.core.h
++++ b/thirdparty/clipper2/include/clipper2/clipper.core.h
+@@ -138,7 +138,7 @@ namespace Clipper2Lib
+ }
+
+ template <typename T2>
+- explicit Point<T>(const Point<T2>& p)
++ explicit Point(const Point<T2>& p)
+ {
+ Init(p.x, p.y, p.z);
+ }
+@@ -180,7 +180,7 @@ namespace Clipper2Lib
+ Point(const T2 x_, const T2 y_) { Init(x_, y_); }
+
+ 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
+ {