diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-10-07 11:34:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 11:34:11 +0200 |
commit | 58ca3031419cacb35c530cebe68e87a4c27dde06 (patch) | |
tree | b0965bb65919bc1495ee02204a91e5ed3a9b56a7 /thirdparty | |
parent | 5b7f62af55b7f322192f95258d825b163cbf9dc1 (diff) | |
parent | 0103af1ddda6a2aa31227965141dd7d3a513e081 (diff) |
Merge pull request #66808 from bruvzg/msvc_warn
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/misc/patches/polypartition-hole.patch | 15 | ||||
-rw-r--r-- | thirdparty/misc/polypartition.h | 4 |
2 files changed, 17 insertions, 2 deletions
diff --git a/thirdparty/misc/patches/polypartition-hole.patch b/thirdparty/misc/patches/polypartition-hole.patch new file mode 100644 index 0000000000..2fcb5d1928 --- /dev/null +++ b/thirdparty/misc/patches/polypartition-hole.patch @@ -0,0 +1,15 @@ +diff --git a/thirdparty/misc/polypartition.h b/thirdparty/misc/polypartition.h +index fae7909079..c084bdf74c 100644 +--- a/thirdparty/misc/polypartition.h ++++ b/thirdparty/misc/polypartition.h +@@ -71,8 +71,8 @@ class TPPLPoly { + return hole; + } + +- void SetHole(bool hole) { +- this->hole = hole; ++ void SetHole(bool p_hole) { ++ this->hole = p_hole; + } + + TPPLPoint &GetPoint(long i) { diff --git a/thirdparty/misc/polypartition.h b/thirdparty/misc/polypartition.h index fae7909079..c084bdf74c 100644 --- a/thirdparty/misc/polypartition.h +++ b/thirdparty/misc/polypartition.h @@ -71,8 +71,8 @@ class TPPLPoly { return hole; } - void SetHole(bool hole) { - this->hole = hole; + void SetHole(bool p_hole) { + this->hole = p_hole; } TPPLPoint &GetPoint(long i) { |