Replace usage of CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG

This commit is contained in:
Philipp Möller 2012-12-11 17:44:49 +01:00
parent feceb5a028
commit ae1b135c54
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public:
Periodic_3_triangulation_ds_cell_base_3(
const Vertex_handle& v0, const Vertex_handle& v1,
const Vertex_handle& v2, const Vertex_handle& v3)
#ifndef CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG
#ifndef CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX
: V((Vertex_handle[4]) {v0, v1, v2, v3}),
_additional_flag(0), off(0) {}
#else
@ -68,7 +68,7 @@ public:
const Vertex_handle& v2, const Vertex_handle& v3,
const Cell_handle& n0, const Cell_handle& n1,
const Cell_handle& n2, const Cell_handle& n3)
#ifndef CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG
#ifndef CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX
: N((Cell_handle[4]) {n0, n1, n2, n3}),
V((Vertex_handle[4]) {v0, v1, v2, v3}),
_additional_flag(0), off(0) {}

View File

@ -47,7 +47,7 @@ public:
Triangulation_ds_cell_base_3(Vertex_handle v0, Vertex_handle v1,
Vertex_handle v2, Vertex_handle v3)
#ifndef CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG
#ifndef CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX
: V((Vertex_handle[4]) {v0, v1, v2, v3} ) {}
#else
{ set_vertices(v0, v1, v2, v3); }
@ -57,7 +57,7 @@ public:
Vertex_handle v2, Vertex_handle v3,
Cell_handle n0, Cell_handle n1,
Cell_handle n2, Cell_handle n3)
#ifndef CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG
#ifndef CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX
: N((Cell_handle[4]) {n0, n1, n2, n3}), V((Vertex_handle[4]) {v0, v1, v2, v3} ) {}
#else
{