mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Replace Boost.Move by std equivalents
This commit is contained in:
parent
b86100a667
commit
9e664b52ab
15 changed files with 44 additions and 108 deletions
|
|
@ -575,8 +575,6 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_returns_the_set_auto_ptr_valu
|
|||
|
||||
#endif // MOCK_AUTO_PTR
|
||||
|
||||
#ifdef MOCK_RVALUE_REFERENCES
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_moves_the_set_lvalue, mock_error_fixture )
|
||||
{
|
||||
mock::detail::function< int() > f;
|
||||
|
|
@ -603,8 +601,6 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_moves_the_set_rvalue, mock_er
|
|||
CHECK_CALLS( 1 );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef MOCK_SMART_PTR
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_moves_the_set_unique_ptr_lvalue, mock_error_fixture )
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ BOOST_AUTO_TEST_CASE( retrieve_constraint )
|
|||
{
|
||||
std::unique_ptr< int > i;
|
||||
std::unique_ptr< int > j( new int( 3 ) );
|
||||
BOOST_CHECK( mock::retrieve( i ).c_( boost::move( j ) ) );
|
||||
BOOST_CHECK( mock::retrieve( i ).c_( std::move( j ) ) );
|
||||
BOOST_REQUIRE( i );
|
||||
BOOST_CHECK_EQUAL( 3, *i );
|
||||
BOOST_CHECK( !j );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue