mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-11-15 15:00:15 +01:00
Fixes for MSVC 6.0.
[SVN r45085]
This commit is contained in:
@@ -49,6 +49,9 @@ int main()
|
||||
BOOST_TEST( q != 0 && q->data == 17041 );
|
||||
}
|
||||
|
||||
#if defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1300 )
|
||||
#else
|
||||
|
||||
{
|
||||
boost::shared_ptr<X> p( &x, deleter(), std::allocator<X>() );
|
||||
|
||||
@@ -58,5 +61,7 @@ int main()
|
||||
BOOST_TEST( q != 0 && q->data == 17041 );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user