fixed compile warnings

This commit is contained in:
Vadim Pisarevsky 2013-02-01 10:47:27 +04:00
parent 50299c1d5e
commit 638c0d1bf4

View File

@ -195,7 +195,7 @@ void CV_DetectorTest::run( int )
validationFS << DETECTORS << "{";
assert( detectorNames.size() == detectorFilenames.size() );
nit = detectorNames.begin();
for( int di = 0; di < detectorNames.size(); ++nit, di++ )
for( int di = 0; nit != detectorNames.end(); ++nit, di++ )
{
validationFS << *nit << "{";
writeDetector( validationFS, di );