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:
Flössie
2017-07-10 21:17:42 +02:00
parent f98ef980d9
commit c90046db13
3 changed files with 60 additions and 31 deletions

View File

@@ -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: