Merge pull request #6638 from sloriot/Argt-no_boost_pool_alloc

Disable boost pool allocator
This commit is contained in:
Laurent Rineau 2022-06-10 16:45:35 +02:00
commit f4b1adefc7
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

@ -48,8 +48,6 @@
#include <CGAL/Iterator_transform.h>
#include <CGAL/Arr_point_location_result.h>
#include <boost/pool/pool_alloc.hpp>
namespace CGAL {
/*! \class Arrangement_on_surface_2
@ -68,7 +66,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;