mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-05 16:56:39 +02:00
Qualified some calls to insert to remove ambiguity; Refs #7346 Thanks to Yusuke Ichinohe for the bug report/fix
[SVN r80809]
This commit is contained in:
@ -118,11 +118,11 @@ namespace boost {
|
|||||||
|
|
||||||
InputT Output;
|
InputT Output;
|
||||||
// Copy the beginning of the sequence
|
// Copy the beginning of the sequence
|
||||||
insert( Output, ::boost::end(Output), ::boost::begin(Input), M.begin() );
|
boost::algorithm::detail::insert( Output, ::boost::end(Output), ::boost::begin(Input), M.begin() );
|
||||||
// Copy formated result
|
// Copy formated result
|
||||||
insert( Output, ::boost::end(Output), M.format_result() );
|
boost::algorithm::detail::insert( Output, ::boost::end(Output), M.format_result() );
|
||||||
// Copy the rest of the sequence
|
// Copy the rest of the sequence
|
||||||
insert( Output, ::boost::end(Output), M.end(), ::boost::end(Input) );
|
boost::algorithm::detail::insert( Output, ::boost::end(Output), M.end(), ::boost::end(Input) );
|
||||||
|
|
||||||
return Output;
|
return Output;
|
||||||
}
|
}
|
||||||
|
@ -134,9 +134,9 @@ namespace boost {
|
|||||||
while( M )
|
while( M )
|
||||||
{
|
{
|
||||||
// Copy the beginning of the sequence
|
// Copy the beginning of the sequence
|
||||||
insert( Output, ::boost::end(Output), LastMatch, M.begin() );
|
boost::algorithm::detail::insert( Output, ::boost::end(Output), LastMatch, M.begin() );
|
||||||
// Copy formated result
|
// Copy formated result
|
||||||
insert( Output, ::boost::end(Output), M.format_result() );
|
boost::algorithm::detail::insert( Output, ::boost::end(Output), M.format_result() );
|
||||||
|
|
||||||
// Proceed to the next match
|
// Proceed to the next match
|
||||||
LastMatch=M.end();
|
LastMatch=M.end();
|
||||||
|
Reference in New Issue
Block a user