PIP_DEBUG, PIVector sort and doc
This commit is contained in:
@@ -237,8 +237,8 @@ bool PIDir::make(bool withParents) {
|
||||
|
||||
|
||||
#ifdef WINDOWS
|
||||
int sort_compare(const PIFile::FileInfo * v0, const PIFile::FileInfo * v1) {
|
||||
return strcoll(v0->path.data(), v1->path.data());
|
||||
bool sort_compare(const PIFile::FileInfo & v0, const PIFile::FileInfo & v1) {
|
||||
return strcoll(v0.path.data(), v1.path.data()) < 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user