mirror of https://github.com/CGAL/cgal
Add constructor so avoid warning about usage of uninitialized data member
This commit is contained in:
parent
c245e6d2d8
commit
a564b970be
|
|
@ -8,6 +8,10 @@ struct A {};
|
||||||
template < typename A1_ = A, typename A2 = int >
|
template < typename A1_ = A, typename A2 = int >
|
||||||
struct B
|
struct B
|
||||||
{
|
{
|
||||||
|
B()
|
||||||
|
: a1()
|
||||||
|
{}
|
||||||
|
|
||||||
// Note that it is also possible to use CGAL::Default
|
// Note that it is also possible to use CGAL::Default
|
||||||
// instead of A as the default argument for A1_ above.
|
// instead of A as the default argument for A1_ above.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue