From a7e6816e94e82b62a7e627e6baa4dab3372f5603 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20D=C3=BCring?= Date: Tue, 17 Apr 2018 20:31:23 +0200 Subject: [PATCH] Add comment to analyzed call as a future reminder --- src/WikimediaJsonToArticleConverter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WikimediaJsonToArticleConverter.cpp b/src/WikimediaJsonToArticleConverter.cpp index 7da10a9..7a9f617 100644 --- a/src/WikimediaJsonToArticleConverter.cpp +++ b/src/WikimediaJsonToArticleConverter.cpp @@ -70,6 +70,7 @@ namespace WikiWalker wantedArticle->addLink(par); } + // It might happen there are no links. In this case, set analyzed anyway. wantedArticle->analyzed(true); } else if(onePage.isMember("linkshere")) { for(const auto& linksHere : -- 2.11.4.GIT