Skip to content

Commit

Permalink
Replace sorting implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
tygyh committed Sep 13, 2024
1 parent e25bc20 commit 52e3d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/astyle/astyle_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ void ASConsole::getFileNames(const string& directory, const vector<string>& wild

// sort the current entries for fileName
if (firstEntry < fileName.size())
sort(&fileName[firstEntry], &fileName[fileName.size()]);
sort(fileName.begin() + firstEntry, fileName.end());

// recurse into sub directories
// if not doing recursive, subDirectory is empty
Expand Down

0 comments on commit 52e3d5b

Please sign in to comment.