mirror of
https://github.com/boostorg/boost.git
synced 2025-04-16 18:24:43 +00:00
Added typecast to prevent ambiguities in function overload resolution of std::string::insert
[SVN r16187]
This commit is contained in:
parent
3d7dcec927
commit
5d9563a7fa
1 changed files with 2 additions and 2 deletions
|
@ -233,7 +233,7 @@ namespace
|
|||
|| line.find( search_name2 ) != string::npos ) )
|
||||
{
|
||||
if ( line.find( "# compiler_status<always_show_run_output>" )
|
||||
!= string::npos ) result.insert( 0, 1, '*' );
|
||||
!= string::npos ) result.insert( (std::string::size_type)0, (std::string::size_type)1, '*' );
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
@ -674,4 +674,4 @@ int cpp_main( int argc, char * argv[] ) // note name!
|
|||
;
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue