diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2003-03-15 08:23:34 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2003-03-15 08:23:34 +0000 |
| commit | c3e47a72d32847f730fc433942fd4e25a4cb3b1c (patch) | |
| tree | f0a4fa1cef0e783f27d618476f64aea562df54ef /include/cppunit | |
| parent | 3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3 (diff) | |
| download | cppunit-c3e47a72d32847f730fc433942fd4e25a4cb3b1c.tar.gz | |
Include/cppunit/tools/Algorithm.
include/cppunit/tools/Algorithm.h:
* src/cppunit/CompilerOutputter.cpp:
* src/cppunit/ProtectorChain.cpp:
* src/cppunit/StringTools.cpp:
* src/cppunit/TestPath.cpp:
* src/cppunit/TypeInfoHelper.cpp:
* src/cppunit/XmlElement.cpp:
* src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to
avoid signed/unsigned warning in vc7.
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/tools/Algorithm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppunit/tools/Algorithm.h b/include/cppunit/tools/Algorithm.h index 143e5d6..572cf2c 100644 --- a/include/cppunit/tools/Algorithm.h +++ b/include/cppunit/tools/Algorithm.h @@ -10,7 +10,7 @@ void removeFromSequence( SequenceType &sequence, const ValueType &valueToRemove ) { - for ( int index =0; index < sequence.size(); ++index ) + for ( unsigned int index =0; index < sequence.size(); ++index ) { if ( sequence[ index ] == valueToRemove ) sequence.erase( sequence.begin() + index ); |
