diff --git a/Envelope_2/include/CGAL/Envelope_diagram_1.h b/Envelope_2/include/CGAL/Envelope_diagram_1.h index 4f7e3868e0a..e027392d407 100644 --- a/Envelope_2/include/CGAL/Envelope_diagram_1.h +++ b/Envelope_2/include/CGAL/Envelope_diagram_1.h @@ -385,7 +385,7 @@ public: { Vertex* v = vertex_alloc.allocate (1); #ifdef CGAL_CXX11 - std::allocator_traits::construct(vertex_alloc, p); + std::allocator_traits::construct(vertex_alloc, v, p); #else vertex_alloc.construct (v, Vertex(p)); #endif