HandlerFeedGenerator: Fix comparator condition

This commit is contained in:
Albert S. 2022-04-03 12:07:43 +02:00
父節點 c88889b10b
當前提交 63a4437de7
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -11,7 +11,7 @@ std::vector<HandlerFeedGenerator::EntryRevisionPair> HandlerFeedGenerator::fetch
option.includeInvisible = false;
// 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);
if(categories.empty())
{