sort the files before checking to make the results comparable

This commit is contained in:
Daniel Marjamäki 2008-02-22 07:25:31 +00:00
parent e9682bbb0e
commit 6100b19640
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@
#include "CheckHeaders.h" #include "CheckHeaders.h"
#include "CheckOther.h" #include "CheckOther.h"
#include <algorithm>
#include <iostream> #include <iostream>
#include <sstream> #include <sstream>
@ -147,6 +148,8 @@ int main(int argc, char* argv[])
return 0; return 0;
} }
std::sort( filenames.begin(), filenames.end() );
for (unsigned int c = 0; c < filenames.size(); c++) for (unsigned int c = 0; c < filenames.size(); c++)
{ {
errout.str(""); errout.str("");