mirror of https://github.com/CGAL/cgal
Correct syntax for uniform initialization
This commit is contained in:
parent
cd7c3e3592
commit
3e98c46535
|
|
@ -54,7 +54,7 @@ public:
|
|||
const Vertex_handle& v0, const Vertex_handle& v1,
|
||||
const Vertex_handle& v2, const Vertex_handle& v3)
|
||||
#ifndef CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX
|
||||
: V((Vertex_handle[4]) {v0, v1, v2, v3}),
|
||||
: V{v0, v1, v2, v3},
|
||||
_additional_flag(0), off(0) {}
|
||||
#else
|
||||
: _additional_flag(0), off(0) {
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
Triangulation_ds_cell_base_3(Vertex_handle v0, Vertex_handle v1,
|
||||
Vertex_handle v2, Vertex_handle v3)
|
||||
#ifndef CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX
|
||||
: V((Vertex_handle[4]) {v0, v1, v2, v3} ) {}
|
||||
: V{v0, v1, v2, v3} {}
|
||||
#else
|
||||
{ set_vertices(v0, v1, v2, v3); }
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue