From f01485c5c2dd1c94aafba04ffdfdbfbe015ad024 Mon Sep 17 00:00:00 2001 From: Gennadiy Rozental Date: Tue, 16 Oct 2007 07:06:10 +0000 Subject: [PATCH] fix A bug in auto TC exp failure support [SVN r40076] --- include/boost/test/unit_test_suite_impl.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;