+ remove debug code

This commit is contained in:
kelson42 2011-06-04 10:04:27 +00:00
parent bf9bed56d7
commit 2bcd992049
1 changed files with 0 additions and 4 deletions

View File

@ -292,15 +292,11 @@ namespace kiwix {
this->suggestions.clear(); this->suggestions.clear();
if (prefix.size()) { if (prefix.size()) {
cout << prefix << endl;
for (zim::File::const_iterator it = zimFileHandler->findByTitle('A', prefix); for (zim::File::const_iterator it = zimFileHandler->findByTitle('A', prefix);
it != zimFileHandler->end() && it->getTitle().compare(0, prefix.size(), prefix) == 0 it != zimFileHandler->end() && it->getTitle().compare(0, prefix.size(), prefix) == 0
&& this->suggestions.size() < suggestionsCount ; ++it) { && this->suggestions.size() < suggestionsCount ; ++it) {
this->suggestions.push_back(it->getTitle()); this->suggestions.push_back(it->getTitle());
cout << " " << it->getTitle() << endl;
} }
} else { } else {
retVal = false; retVal = false;