mirror of https://github.com/CGAL/cgal
readd fast_pool allocator
This commit is contained in:
parent
5da848dbd3
commit
c1d2fe3758
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue