mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Replace std::vector<std::string> with SuggestionItem
Each sugestions used to be stored as vector of strings to hold various values such as title, path etc inside them. With this commit, we use the new dedicated class `SuggestionItem` to do the same.
This commit is contained in:
committed by
Matthieu Gautier
parent
5315034afe
commit
5567d8ca49
@ -77,7 +77,7 @@ class SuggestionItem
|
||||
* file.
|
||||
*/
|
||||
|
||||
using SuggestionsList_t = std::vector<std::vector<std::string>>;
|
||||
using SuggestionsList_t = std::vector<SuggestionItem>;
|
||||
class Reader
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user