From ac6f91798f10d25d735535c0a0d3e9a85b8bb33e Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 12 Jan 2022 18:16:07 +0100 Subject: [PATCH] Assume `SuggestionItem` has a public constructor. `SuggestionItem` is somehow a simple container. --- include/reader.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/reader.h b/include/reader.h index b23daf254..12d06a114 100644 --- a/include/reader.h +++ b/include/reader.h @@ -42,7 +42,6 @@ namespace kiwix class SuggestionItem { // Functions - // Temporarily making the constructor public until the code move is complete public: // Create a sugggestion item. explicit SuggestionItem(const std::string& title, const std::string& normalizedTitle, @@ -66,8 +65,6 @@ class SuggestionItem std::string normalizedTitle; std::string path; std::string snippet; - - friend class Reader; }; /**