Use Glib::ustring::collate_key()
for ThumbBrowserEntryBase::operator<()
Kudos to @heckflosse for having a nose for optimizations. 👍
Also kills unused `DirEntry` class.
This commit is contained in:
@@ -36,20 +36,6 @@
|
||||
#include "multilangmgr.h"
|
||||
#include "threadutils.h"
|
||||
|
||||
|
||||
class DirEntry
|
||||
{
|
||||
|
||||
public:
|
||||
Glib::ustring fullName;
|
||||
|
||||
explicit DirEntry (const Glib::ustring& n) : fullName (n) {}
|
||||
|
||||
bool operator< (DirEntry& other)
|
||||
{
|
||||
return fullName.casefold() < other.fullName.casefold();
|
||||
}
|
||||
};
|
||||
class FilePanel;
|
||||
/*
|
||||
* Class:
|
||||
|
Reference in New Issue
Block a user