Message ID | 4CF6B71A.6000804@free.fr |
---|---|
State | New |
Headers | show |
On 1 December 2010 20:59, François Dumont wrote: > Attached patch applied. > > 2010-11-22 François Dumont <francois.cppdevs@free.fr> > > * testsuite/23_containers/deque/cons/2.cc: Fix to explicitely invoke > the copy construtor with or without C++0x mode. I would have asked you to fix "explicitly" and "constructor" before approving it for checkin, but I like the solution that avoids testing for C++0x mode. Thanks for finding and fixing it.
Index: testsuite/23_containers/vector/cons/4.cc =================================================================== --- testsuite/23_containers/vector/cons/4.cc (revision 167225) +++ testsuite/23_containers/vector/cons/4.cc (working copy) @@ -50,7 +50,8 @@ // run test try { - X a(7); + T ref; + X a(7, ref); VERIFY(false); } catch (...) Index: testsuite/23_containers/deque/cons/2.cc =================================================================== --- testsuite/23_containers/deque/cons/2.cc (revision 167225) +++ testsuite/23_containers/deque/cons/2.cc (working copy) @@ -454,7 +454,8 @@ // test try { - X a(7); + T ref; + X a(7, ref); VERIFY( false ); } catch (...)