mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
Fix method call for new libzim API.
`add_archive` is now `addArchive`.
This commit is contained in:
@ -591,7 +591,7 @@ std::unique_ptr<Response> InternalServer::handle_search(const RequestContext& re
|
|||||||
if (! searcher) {
|
if (! searcher) {
|
||||||
searcher = std::make_shared<zim::Searcher>(*currentArchive);
|
searcher = std::make_shared<zim::Searcher>(*currentArchive);
|
||||||
} else {
|
} else {
|
||||||
searcher->add_archive(*currentArchive);
|
searcher->addArchive(*currentArchive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user