Forbid the use of CGAL_MESH_3_USE_RELAXED_HEAP

That code using a Boost relaxed heap is buggy. Let's warn the developer
that he/she must not use it.
This commit is contained in:
Laurent Rineau 2017-10-19 15:14:01 +02:00
parent 6178c04cf1
commit 6be9fcab9d
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@
#include <boost/format.hpp>
#ifdef CGAL_MESH_3_USE_RELAXED_HEAP
# error This option CGAL_MESH_3_USE_RELAXED_HEAP is no longer supported
// The reason is that the Boost relaxed heap does not ensure a strict order
// of the priority queue.
#include <boost/pending/relaxed_heap.hpp>
#else
#include <CGAL/Modifiable_priority_queue.h>