Exract struct to reuse it

This commit is contained in:
Luis Ángel San Martín
2021-04-30 09:52:31 +02:00
parent 811c3fcfe4
commit b8ad99fcaa
3 changed files with 11 additions and 14 deletions

View File

@ -19,13 +19,6 @@ using stefanfrings::HttpRequest;
using stefanfrings::HttpResponse;
using namespace std;
struct LibraryItemSorter {
bool operator()(const LibraryItem *a, const LibraryItem *b) const
{
return naturalSortLessThanCI(a->name, b->name);
}
};
FolderContentControllerV2::FolderContentControllerV2() { }
void FolderContentControllerV2::service(HttpRequest &request, HttpResponse &response)