mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
+ remove debug code
This commit is contained in:
@ -292,15 +292,11 @@ namespace kiwix {
|
||||
this->suggestions.clear();
|
||||
|
||||
if (prefix.size()) {
|
||||
cout << prefix << endl;
|
||||
|
||||
for (zim::File::const_iterator it = zimFileHandler->findByTitle('A', prefix);
|
||||
it != zimFileHandler->end() && it->getTitle().compare(0, prefix.size(), prefix) == 0
|
||||
&& this->suggestions.size() < suggestionsCount ; ++it) {
|
||||
|
||||
this->suggestions.push_back(it->getTitle());
|
||||
|
||||
cout << " " << it->getTitle() << endl;
|
||||
}
|
||||
} else {
|
||||
retVal = false;
|
||||
|
Reference in New Issue
Block a user