mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Warning fix for gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@414 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
6e1e22c559
commit
97eedfc240
1 changed files with 2 additions and 2 deletions
|
|
@ -276,10 +276,10 @@ BOOST_AUTO_TEST_CASE( contain_with_const_char_ptr )
|
|||
BOOST_CHECK( ! mock::contain( "not found" ).f_( "this is a string" ) );
|
||||
BOOST_CHECK( ! mock::contain( "not found" ).f_( std::string( "this is a string" ) ) );
|
||||
{
|
||||
char* s;
|
||||
const char* s;
|
||||
mock::constraint<
|
||||
mock::detail::contain<
|
||||
boost::reference_wrapper< char* const >
|
||||
boost::reference_wrapper< const char* const >
|
||||
>
|
||||
> c = mock::contain( boost::cref( s ) );
|
||||
s = "string";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue