Skip to content

Commit

Permalink
Whoops, missed a MANIFOLD_EXCEPTIONS check
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jul 10, 2024
1 parent ab640fa commit 43c3239
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions manifold/manifold.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
diff -Naur manifold/src/third_party/glm/glm/detail/setup.hpp MANIFOLD_BLD/src/third_party/glm/glm/detail/setup.hpp
--- manifold/src/third_party/glm/glm/detail/setup.hpp 2024-06-25 10:59:36.219351152 -0400
+++ MANIFOLD_BLD/src/third_party/glm/glm/detail/setup.hpp 2024-07-09 20:09:07.054278365 -0400
+++ MANIFOLD_BLD/src/third_party/glm/glm/detail/setup.hpp 2024-07-09 21:27:42.922845184 -0400
@@ -493,7 +493,7 @@
# define GLM_NEVER_INLINE
#endif//defined(GLM_FORCE_INLINE)
Expand All @@ -12,7 +12,7 @@ diff -Naur manifold/src/third_party/glm/glm/detail/setup.hpp MANIFOLD_BLD/src/th
#define GLM_FUNC_QUALIFIER GLM_CUDA_FUNC_DEF GLM_INLINE
diff -Naur manifold/src/utilities/include/optional_assert.h MANIFOLD_BLD/src/utilities/include/optional_assert.h
--- manifold/src/utilities/include/optional_assert.h 2024-07-02 20:09:19.078438473 -0400
+++ MANIFOLD_BLD/src/utilities/include/optional_assert.h 2024-07-09 17:10:40.601974842 -0400
+++ MANIFOLD_BLD/src/utilities/include/optional_assert.h 2024-07-09 21:32:03.965382198 -0400
@@ -15,7 +15,7 @@
#pragma once

Expand All @@ -22,3 +22,12 @@ diff -Naur manifold/src/utilities/include/optional_assert.h MANIFOLD_BLD/src/uti
#include <stdexcept>
#endif

@@ -40,7 +40,7 @@
#define DEBUG_ASSERT(condition, EX, msg)
#endif

-#if MANIFOLD_EXCEPTIONS
+#ifdef MANIFOLD_EXCEPTIONS
#define ASSERT(condition, EX) \
if (!(condition)) throw(EX);
#else

0 comments on commit 43c3239

Please sign in to comment.