sort the files before checking to make the results comparable
This commit is contained in:
parent
e9682bbb0e
commit
6100b19640
3
main.cpp
3
main.cpp
|
@ -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("");
|
||||||
|
|
Loading…
Reference in New Issue