Fixed MSVC 6 build.
This commit is contained in:
@@ -930,7 +930,7 @@ void FileRequest(GMsg* msg)
|
||||
// Sort list if requested
|
||||
if (CFG->frqoptions & FREQ_SORT)
|
||||
{
|
||||
sort(freqfile.begin(), freqfile.end(), FreqCmp);
|
||||
std::sort(freqfile.begin(), freqfile.end(), FreqCmp);
|
||||
}
|
||||
|
||||
// Run the picker
|
||||
|
@@ -773,8 +773,8 @@ void ReadPeekURLs(GMsg* msg)
|
||||
}
|
||||
|
||||
// Sort list if requested
|
||||
if(CFG->peekurloptions & FREQ_SORT)
|
||||
sort(Listi.begin(), Listi.end(), PeekURLCmp);
|
||||
if (CFG->peekurloptions & FREQ_SORT)
|
||||
std::sort(Listi.begin(), Listi.end(), PeekURLCmp);
|
||||
|
||||
// Run the picker
|
||||
size_t n = MinV(urls.size(), (MAXROW-10));
|
||||
|
Reference in New Issue
Block a user