mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-12 14:41:43 -04:00
Use proper argument order when building the SearchRenderer from a Searcher
This commit is contained in:
1 parent
d196496802
commit
fbc7656b3f
1 file changed
+6
-5
@@ -40,11 +40,12 @@ namespace kiwix
|
||||
/* Constructor */
|
||||
SearchRenderer::SearchRenderer(Searcher* searcher, NameMapper* mapper)
|
||||
: SearchRenderer(
|
||||
searcher->getSearchResultSet(),
|
||||
mapper,
|
||||
nullptr,
|
||||
searcher->getEstimatedResultCount(),
|
||||
searcher->getResultStart())
|
||||
/* srs */ searcher->getSearchResultSet(),
|
||||
/* mapper */ mapper,
|
||||
/* library */ nullptr,
|
||||
/* start */ searcher->getResultStart(),
|
||||
/* estimatedResultCount */ searcher->getEstimatedResultCount()
|
||||
)
|
||||
{}
|
||||
|
||||
SearchRenderer::SearchRenderer(zim::SearchResultSet srs, NameMapper* mapper,
|
||||
|
||||
Reference in new issue
Block a user