mirror of https://github.com/kiwix/libkiwix.git
+ remove small -reorder compilation warning
This commit is contained in:
parent
cd3f9591dd
commit
2acadfb0c9
|
@ -38,13 +38,13 @@ namespace kiwix {
|
||||||
/* Constructor */
|
/* Constructor */
|
||||||
Searcher::Searcher() :
|
Searcher::Searcher() :
|
||||||
searchPattern(""),
|
searchPattern(""),
|
||||||
|
protocolPrefix("zim://"),
|
||||||
|
searchProtocolPrefix("search://?"),
|
||||||
resultCountPerPage(0),
|
resultCountPerPage(0),
|
||||||
estimatedResultCount(0),
|
estimatedResultCount(0),
|
||||||
resultStart(0),
|
resultStart(0),
|
||||||
resultEnd(0),
|
resultEnd(0),
|
||||||
resultRange(20),
|
resultRange(20) {
|
||||||
protocolPrefix("zim://"),
|
|
||||||
searchProtocolPrefix("search://?") {
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Search strings in the database */
|
/* Search strings in the database */
|
||||||
|
|
|
@ -86,12 +86,12 @@ namespace kiwix {
|
||||||
std::vector<Result> results;
|
std::vector<Result> results;
|
||||||
std::vector<Result>::iterator resultOffset;
|
std::vector<Result>::iterator resultOffset;
|
||||||
std::string searchPattern;
|
std::string searchPattern;
|
||||||
|
std::string protocolPrefix;
|
||||||
|
std::string searchProtocolPrefix;
|
||||||
unsigned int resultCountPerPage;
|
unsigned int resultCountPerPage;
|
||||||
unsigned int estimatedResultCount;
|
unsigned int estimatedResultCount;
|
||||||
unsigned int resultStart;
|
unsigned int resultStart;
|
||||||
unsigned int resultEnd;
|
unsigned int resultEnd;
|
||||||
std::string protocolPrefix;
|
|
||||||
std::string searchProtocolPrefix;
|
|
||||||
std::string contentHumanReadableId;
|
std::string contentHumanReadableId;
|
||||||
unsigned int resultRange;
|
unsigned int resultRange;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue