readd fast_pool allocator

This commit is contained in:
Sébastien Loriot 2021-11-09 14:54:58 +01:00
parent 5da848dbd3
commit c1d2fe3758
1 changed files with 3 additions and 1 deletions

View File

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