mirror of https://github.com/CGAL/cgal
fix in Envelop_diagram_1
This commit is contained in:
parent
5bc6d78f7f
commit
32a6b1b65c
|
|
@ -385,7 +385,7 @@ public:
|
||||||
{
|
{
|
||||||
Vertex* v = vertex_alloc.allocate (1);
|
Vertex* v = vertex_alloc.allocate (1);
|
||||||
#ifdef CGAL_CXX11
|
#ifdef CGAL_CXX11
|
||||||
std::allocator_traits<Vertex_allocator>::construct(vertex_alloc, p);
|
std::allocator_traits<Vertex_allocator>::construct(vertex_alloc, v, p);
|
||||||
#else
|
#else
|
||||||
vertex_alloc.construct (v, Vertex(p));
|
vertex_alloc.construct (v, Vertex(p));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue