mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Remove support for auto_ptr
This commit is contained in:
parent
c7873cde4b
commit
cf5ac87499
7 changed files with 0 additions and 150 deletions
|
|
@ -393,16 +393,6 @@ BOOST_AUTO_TEST_CASE( std_pairs_are_serialized )
|
|||
BOOST_CHECK_EQUAL( "(3,42)", to_string( std::make_pair( 3, 42.f ) ) );
|
||||
}
|
||||
|
||||
#ifdef MOCK_AUTO_PTR
|
||||
|
||||
BOOST_AUTO_TEST_CASE( std_auto_ptr_are_serialized )
|
||||
{
|
||||
BOOST_CHECK_NE( "?", to_string( std::auto_ptr< int >() ) );
|
||||
BOOST_CHECK_NE( "?", to_string( std::auto_ptr< int >( new int( 42 ) ) ) );
|
||||
}
|
||||
|
||||
#endif // MOCK_AUTO_PTR
|
||||
|
||||
BOOST_AUTO_TEST_CASE( boost_shared_ptr_are_serialized )
|
||||
{
|
||||
BOOST_CHECK_NE( "?", to_string( boost::shared_ptr< int >() ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue