Drop usage of Reader from InternalServer::handle_suggest

This commit is contained in:
Maneesh P M
2021-05-23 11:44:39 +05:30
parent 7d68926539
commit a236751c74
5 changed files with 97 additions and 55 deletions

View File

@ -41,11 +41,11 @@ namespace kiwix
* The SuggestionItem is a helper class that contains the info about a single
* suggestion item.
*/
class SuggestionItem
{
// Functions
private:
// Temporarily making the constructor public until the code move is complete
public:
// Create a sugggestion item.
explicit SuggestionItem(std::string title, std::string normalizedTitle,
std::string path, std::string snippet = "") :