mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-02-20 08:05:28 -05:00
Update libkiwix with search iterator rename in libzim
Search iterator API in libzim has been shifted to use camel case naming. This has to be accomodated in libkiwix as well.
This commit is contained in:
committed by
Emmanuel Engelhart
parent
7ef08b670b
commit
e5fac30cee
@@ -507,9 +507,9 @@ bool Reader::searchSuggestionsSmart(const string& prefix,
|
||||
current != suggestions.end();
|
||||
current++) {
|
||||
std::vector<std::string> suggestion;
|
||||
suggestion.push_back(current->getTitle());
|
||||
suggestion.push_back(current->getPath());
|
||||
suggestion.push_back(kiwix::normalize(current->getTitle()));
|
||||
suggestion.push_back(current.getTitle());
|
||||
suggestion.push_back(current.getPath());
|
||||
suggestion.push_back(kiwix::normalize(current.getTitle()));
|
||||
results.push_back(suggestion);
|
||||
}
|
||||
retVal = true;
|
||||
|
||||
Reference in New Issue
Block a user