Add constructor so avoid warning about usage of uninitialized data member

This commit is contained in:
Andreas Fabri 2010-03-25 09:35:42 +00:00
parent c245e6d2d8
commit a564b970be
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ struct A {};
template < typename A1_ = A, typename A2 = int >
struct B
{
B()
: a1()
{}
// Note that it is also possible to use CGAL::Default
// instead of A as the default argument for A1_ above.