mirror of https://github.com/kiwix/libkiwix.git
Fix method call for new libzim API.
`add_archive` is now `addArchive`.
This commit is contained in:
parent
3b942bb745
commit
cd9fb541fc
|
@ -591,7 +591,7 @@ std::unique_ptr<Response> InternalServer::handle_search(const RequestContext& re
|
|||
if (! searcher) {
|
||||
searcher = std::make_shared<zim::Searcher>(*currentArchive);
|
||||
} else {
|
||||
searcher->add_archive(*currentArchive);
|
||||
searcher->addArchive(*currentArchive);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue