removed some warnings

[SVN r22556]
This commit is contained in:
Pavol Droba
2004-03-26 09:16:00 +00:00
parent d9f4e3524d
commit 9198370df5
2 changed files with 5 additions and 5 deletions

View File

@ -310,7 +310,7 @@ namespace boost {
input_iterator_type It=Begin;
for(
unsigned int Index=0;
Index<m_N && It!=End; ++Index,++It );
Index<m_N && It!=End; ++Index,++It ) {};
return result_type( Begin, It );
}
@ -378,10 +378,10 @@ namespace boost {
input_iterator_type It2=Begin;
// 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
for(; It2!=End; ++It,++It2 );
for(; It2!=End; ++It,++It2 ) {};
return result_type( It, It2 );
}
@ -399,7 +399,7 @@ namespace boost {
input_iterator_type It=End;
for(
unsigned int Index=0;
Index<m_N && It!=Begin; ++Index,--It );
Index<m_N && It!=Begin; ++Index,--It ) {};
return result_type( It, End );
}