mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Use std::reference_wrapper instead of boost
This commit is contained in:
parent
353849e9ad
commit
35e43d58a6
16 changed files with 116 additions and 90 deletions
|
|
@ -44,7 +44,7 @@ namespace
|
|||
BOOST_FIXTURE_TEST_CASE( mock_addition_operator, mock_error_fixture )
|
||||
{
|
||||
mock_class_with_operator m;
|
||||
MOCK_EXPECT( m.addition ).once().returns( boost::ref( m ) );
|
||||
MOCK_EXPECT( m.addition ).once().returns( std::ref( m ) );
|
||||
m += 1;
|
||||
CHECK_CALLS( 1 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue