|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2007-10-16 03:06:10
Author: rogeeff
Date: 2007-10-16 03:06:10 EDT (Tue, 16 Oct 2007)
New Revision: 40076
URL: http://svn.boost.org/trac/boost/changeset/40076
Log:
fix A bug in auto TC exp failure support
Text files modified:
trunk/boost/test/unit_test_suite_impl.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/test/unit_test_suite_impl.hpp
==============================================================================
--- trunk/boost/test/unit_test_suite_impl.hpp (original)
+++ trunk/boost/test/unit_test_suite_impl.hpp 2007-10-16 03:06:10 EDT (Tue, 16 Oct 2007)
@@ -277,7 +277,9 @@
template<typename T>
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;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk