From 32a6b1b65c82c19754acc3dbe534d205d08108d9 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 20 Apr 2018 09:06:59 +0100 Subject: [PATCH] fix in Envelop_diagram_1 --- Envelope_2/include/CGAL/Envelope_diagram_1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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