2014-03-28 08:41:04 +00:00
|
|
|
diff -r e82d852e4fb0 include/carve/mesh_ops.hpp
|
|
|
|
--- a/include/carve/mesh_ops.hpp Wed Jan 15 13:16:14 2014 +1100
|
|
|
|
+++ b/include/carve/mesh_ops.hpp Fri Mar 28 14:34:04 2014 +0600
|
|
|
|
@@ -580,7 +580,7 @@
|
|
|
|
std::vector<VertexInfo *> queue;
|
2013-11-28 07:52:54 +00:00
|
|
|
|
2014-03-28 08:41:04 +00:00
|
|
|
void checkheap() {
|
|
|
|
-#ifdef __GNUC__
|
|
|
|
+#if defined(HAVE_IS_HEAP)
|
|
|
|
CARVE_ASSERT(std::__is_heap(queue.begin(), queue.end(), order_by_score()));
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
diff -r e82d852e4fb0 lib/triangulator.cpp
|
|
|
|
--- a/lib/triangulator.cpp Wed Jan 15 13:16:14 2014 +1100
|
|
|
|
+++ b/lib/triangulator.cpp Fri Mar 28 14:34:04 2014 +0600
|
|
|
|
@@ -27,7 +27,6 @@
|
2013-11-28 07:52:54 +00:00
|
|
|
|
2014-03-28 08:41:04 +00:00
|
|
|
#include <algorithm>
|
2013-11-28 07:52:54 +00:00
|
|
|
|
2014-03-28 08:41:04 +00:00
|
|
|
-
|
2013-11-28 07:52:54 +00:00
|
|
|
namespace {
|
|
|
|
// private code related to hole patching.
|
2014-03-28 08:41:04 +00:00
|
|
|
|
|
|
|
@@ -122,7 +121,7 @@
|
2014-01-09 10:15:24 +00:00
|
|
|
std::vector<vertex_info *> queue;
|
|
|
|
|
|
|
|
void checkheap() {
|
|
|
|
-#ifdef __GNUC__
|
|
|
|
+#if defined(HAVE_IS_HEAP)
|
|
|
|
CARVE_ASSERT(std::__is_heap(queue.begin(), queue.end(), vertex_info_ordering()));
|
|
|
|
#endif
|
|
|
|
}
|