gcc14-warning.patch 783 B

1234567891011121314151617181920212223
  1. diff --git a/thirdparty/clipper2/include/clipper2/clipper.core.h b/thirdparty/clipper2/include/clipper2/clipper.core.h
  2. index a77cdad5f4..0de7c3720e 100644
  3. --- a/thirdparty/clipper2/include/clipper2/clipper.core.h
  4. +++ b/thirdparty/clipper2/include/clipper2/clipper.core.h
  5. @@ -138,7 +138,7 @@ namespace Clipper2Lib
  6. }
  7. template <typename T2>
  8. - explicit Point<T>(const Point<T2>& p)
  9. + explicit Point(const Point<T2>& p)
  10. {
  11. Init(p.x, p.y, p.z);
  12. }
  13. @@ -180,7 +180,7 @@ namespace Clipper2Lib
  14. Point(const T2 x_, const T2 y_) { Init(x_, y_); }
  15. template <typename T2>
  16. - explicit Point<T>(const Point<T2>& p) { Init(p.x, p.y); }
  17. + explicit Point(const Point<T2>& p) { Init(p.x, p.y); }
  18. Point operator * (const double scale) const
  19. {