2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-26 07:02:12 +00:00

fix A bug in auto TC exp failure support

[SVN r40076]
This commit is contained in:
Gennadiy Rozental
2007-10-16 07:06:10 +00:00
parent 85b1668255
commit f01485c5c2

View File

@@ -277,7 +277,9 @@ private:
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;