mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
core,objdetects,dnn,features2d: fix build warnings with GCC 16
This commit is contained in:
@@ -204,12 +204,13 @@ void CV_DetectorTest::run( int )
|
||||
|
||||
// write image filenames
|
||||
validationFS << IMAGE_FILENAMES << "[";
|
||||
vector<string>::const_iterator it = imageFilenames.begin();
|
||||
for( int ii = 0; it != imageFilenames.end(); ++it, ii++ )
|
||||
// int ii = 0;
|
||||
for( const auto& filename : imageFilenames )
|
||||
{
|
||||
//String buf = cv::format("img_%d", ii);
|
||||
//cvWriteComment( validationFS.fs, buf, 0 );
|
||||
validationFS << *it;
|
||||
validationFS << filename;
|
||||
//ii++;
|
||||
}
|
||||
validationFS << "]"; // IMAGE_FILENAMES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user