completely disable boost pool allocator

some regressions are observed in multithreaded env
This commit is contained in:
Sébastien Loriot 2022-06-02 18:42:12 +02:00
parent 775312074e
commit 3d4ca1ae4e
2 changed files with 2 additions and 6 deletions

View File

@ -34,8 +34,6 @@
#include <CGAL/Arrangement_2/Arrangement_2_iterators.h>
#include <CGAL/assertions.h>
#include <boost/pool/pool_alloc.hpp>
namespace CGAL {
inline void* _clean_pointer(const void* p)
@ -964,7 +962,7 @@ public:
* The arrangement DCEL class.
*/
template <class V, class H, class F,
class Allocator = boost::fast_pool_allocator<int> >
class Allocator = CGAL_ALLOCATOR(int) >
class Arr_dcel_base {
public:
// Define the vertex, halfedge and face types.

View File

@ -46,8 +46,6 @@
#include <CGAL/Iterator_project.h>
#include <CGAL/Iterator_transform.h>
#include <boost/pool/pool_alloc.hpp>
namespace CGAL {
/*! \class Arrangement_on_surface_2
@ -66,7 +64,7 @@ class Arrangement_on_surface_2 {
public:
typedef GeomTraits_ Geometry_traits_2;
typedef TopTraits_ Topology_traits;
typedef boost::fast_pool_allocator<int> Allocator;
typedef CGAL_ALLOCATOR(int) Allocator;
// first define adaptor ...
typedef Arr_traits_basic_adaptor_2<Geometry_traits_2> Traits_adaptor_2;