Skip to content

Commit

Permalink
Replace sorting implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
tygyh authored and nyalldawson committed Sep 16, 2024
1 parent 18d44e6 commit 4e8e5da
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 4e8e5da

Please sign in to comment.