summaryrefslogtreecommitdiffstats
path: root/thirdparty/clipper2/patches/clipper2-exceptions.patch
diff options
context:
space:
mode:
authorJakub Marcowski <chubercikbattle@gmail.com>2024-08-22 18:23:26 +0200
committerJakub Marcowski <chubercikbattle@gmail.com>2024-11-26 17:23:06 +0100
commit1bd52fed769ae65bdd00a47f127e45f9d9477c32 (patch)
tree331a7239bfebb3eb7613c50a5a6022a9e674c08b /thirdparty/clipper2/patches/clipper2-exceptions.patch
parentd09d82d433b03bb3773fd2a8cc8d6ccc2f8739ce (diff)
downloadredot-engine-1bd52fed769ae65bdd00a47f127e45f9d9477c32.tar.gz
clipper2: Update to 1.4.0
Diffstat (limited to 'thirdparty/clipper2/patches/clipper2-exceptions.patch')
-rw-r--r--thirdparty/clipper2/patches/clipper2-exceptions.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/thirdparty/clipper2/patches/clipper2-exceptions.patch b/thirdparty/clipper2/patches/clipper2-exceptions.patch
index 0e1c6585fe..44c2b0287a 100644
--- a/thirdparty/clipper2/patches/clipper2-exceptions.patch
+++ b/thirdparty/clipper2/patches/clipper2-exceptions.patch
@@ -1,9 +1,9 @@
diff --git a/thirdparty/clipper2/include/clipper2/clipper.core.h b/thirdparty/clipper2/include/clipper2/clipper.core.h
-index b3dddeeaa2..a77cdad5f4 100644
+index 925c04685e..d0d159b949 100644
--- a/thirdparty/clipper2/include/clipper2/clipper.core.h
+++ b/thirdparty/clipper2/include/clipper2/clipper.core.h
-@@ -21,6 +21,8 @@
- #include <numeric>
+@@ -22,6 +22,8 @@
+ #include <optional>
#include "clipper2/clipper.version.h"
+#define CLIPPER2_THROW(exception) std::abort()
@@ -11,7 +11,7 @@ index b3dddeeaa2..a77cdad5f4 100644
namespace Clipper2Lib
{
-@@ -78,18 +80,18 @@ namespace Clipper2Lib
+@@ -79,18 +81,18 @@ namespace Clipper2Lib
switch (error_code)
{
case precision_error_i: