diff --git a/include/boost/test/unit_test_suite_impl.hpp b/include/boost/test/unit_test_suite_impl.hpp index f960dd89..dcc2052a 100644 --- a/include/boost/test/unit_test_suite_impl.hpp +++ b/include/boost/test/unit_test_suite_impl.hpp @@ -277,7 +277,9 @@ private: template struct auto_tc_exp_fail { - explicit auto_tc_exp_fail( unsigned v = 0 ) + auto_tc_exp_fail() : m_value( 0 ) {} + + explicit auto_tc_exp_fail( unsigned v ) : m_value( v ) { instance() = this;