mirror of https://github.com/kiwix/libkiwix.git
Assume `SuggestionItem` has a public constructor.
`SuggestionItem` is somehow a simple container.
This commit is contained in:
parent
e5d26a4699
commit
ac6f91798f
|
@ -42,7 +42,6 @@ namespace kiwix
|
||||||
class SuggestionItem
|
class SuggestionItem
|
||||||
{
|
{
|
||||||
// Functions
|
// Functions
|
||||||
// Temporarily making the constructor public until the code move is complete
|
|
||||||
public:
|
public:
|
||||||
// Create a sugggestion item.
|
// Create a sugggestion item.
|
||||||
explicit SuggestionItem(const std::string& title, const std::string& normalizedTitle,
|
explicit SuggestionItem(const std::string& title, const std::string& normalizedTitle,
|
||||||
|
@ -66,8 +65,6 @@ class SuggestionItem
|
||||||
std::string normalizedTitle;
|
std::string normalizedTitle;
|
||||||
std::string path;
|
std::string path;
|
||||||
std::string snippet;
|
std::string snippet;
|
||||||
|
|
||||||
friend class Reader;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue