mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-01 15:00:59 +02:00
removed some warnings
[SVN r22556]
This commit is contained in:
@ -310,7 +310,7 @@ namespace boost {
|
|||||||
input_iterator_type It=Begin;
|
input_iterator_type It=Begin;
|
||||||
for(
|
for(
|
||||||
unsigned int Index=0;
|
unsigned int Index=0;
|
||||||
Index<m_N && It!=End; ++Index,++It );
|
Index<m_N && It!=End; ++Index,++It ) {};
|
||||||
|
|
||||||
return result_type( Begin, It );
|
return result_type( Begin, It );
|
||||||
}
|
}
|
||||||
@ -378,10 +378,10 @@ namespace boost {
|
|||||||
input_iterator_type It2=Begin;
|
input_iterator_type It2=Begin;
|
||||||
|
|
||||||
// Advance It2 by N incremets
|
// Advance It2 by N incremets
|
||||||
for( Index=0; Index<m_N && It2!=End; ++Index,++It2 );
|
for( Index=0; Index<m_N && It2!=End; ++Index,++It2 ) {};
|
||||||
|
|
||||||
// Advance It, It2 to the end
|
// Advance It, It2 to the end
|
||||||
for(; It2!=End; ++It,++It2 );
|
for(; It2!=End; ++It,++It2 ) {};
|
||||||
|
|
||||||
return result_type( It, It2 );
|
return result_type( It, It2 );
|
||||||
}
|
}
|
||||||
@ -399,7 +399,7 @@ namespace boost {
|
|||||||
input_iterator_type It=End;
|
input_iterator_type It=End;
|
||||||
for(
|
for(
|
||||||
unsigned int Index=0;
|
unsigned int Index=0;
|
||||||
Index<m_N && It!=Begin; ++Index,--It );
|
Index<m_N && It!=Begin; ++Index,--It ) {};
|
||||||
|
|
||||||
return result_type( It, End );
|
return result_type( It, End );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user