HandlerFeedGenerator: Fix comparator condition
This commit is contained in:
parent
c88889b10b
commit
63a4437de7
@ -11,7 +11,7 @@ std::vector<HandlerFeedGenerator::EntryRevisionPair> HandlerFeedGenerator::fetch
|
|||||||
option.includeInvisible = false;
|
option.includeInvisible = false;
|
||||||
// option.limit = 20;
|
// option.limit = 20;
|
||||||
|
|
||||||
auto comppage = [](const Page &a, const Page &b) { return a.name == b.name; };
|
auto comppage = [](const Page &a, const Page &b) { return a.name < b.name; };
|
||||||
std::set<Page, decltype(comppage)> members (comppage);
|
std::set<Page, decltype(comppage)> members (comppage);
|
||||||
if(categories.empty())
|
if(categories.empty())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user