diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-10-27 13:14:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 13:14:42 (GMT) |
commit | 681038d8137ef9ba36b575aada4ae8526631001a (patch) | |
tree | 0b5ad5533fc4608f49c743d6035c19acb0cb57a3 /src | |
parent | d62ee9aace0752ad031d9dbe49e3228916bc258c (diff) | |
parent | 0fc16d17963c50caa41959cc321d796a931aba44 (diff) | |
download | Doxygen-681038d8137ef9ba36b575aada4ae8526631001a.zip Doxygen-681038d8137ef9ba36b575aada4ae8526631001a.tar.gz Doxygen-681038d8137ef9ba36b575aada4ae8526631001a.tar.bz2 |
Merge pull request #6459 from aquayan/patch-1
File list creation performance improvement.
Diffstat (limited to 'src')
-rw-r--r-- | src/doxygen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 7eb7968..b706d1d 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -9651,7 +9651,7 @@ int readDir(QFileInfo *fi, { fn = new FileName(cfi->absFilePath().utf8(),name); fn->append(fd); - if (fnList) fnList->inSort(fn); + if (fnList) fnList->append(fn); fnDict->insert(name,fn); } } @@ -9750,7 +9750,7 @@ int readFileOrDirectory(const char *s, { fn = new FileName(filePath,name); fn->append(fd); - if (fnList) fnList->inSort(fn); + if (fnList) fnList->append(fn); fnDict->insert(name,fn); } } @@ -10963,6 +10963,7 @@ void searchInputFiles() } s=inputList.next(); } + Doxygen::inputNameList->sort(); delete killDict; g_s.end(); } |