+ remove small -reorder compilation warning

This commit is contained in:
kelson42 2012-04-24 15:20:09 +00:00
parent cd3f9591dd
commit 2acadfb0c9
2 changed files with 5 additions and 5 deletions

View File

@ -38,13 +38,13 @@ namespace kiwix {
/* Constructor */
Searcher::Searcher() :
searchPattern(""),
protocolPrefix("zim://"),
searchProtocolPrefix("search://?"),
resultCountPerPage(0),
estimatedResultCount(0),
resultStart(0),
resultEnd(0),
resultRange(20),
protocolPrefix("zim://"),
searchProtocolPrefix("search://?") {
resultRange(20) {
}
/* Search strings in the database */

View File

@ -86,12 +86,12 @@ namespace kiwix {
std::vector<Result> results;
std::vector<Result>::iterator resultOffset;
std::string searchPattern;
std::string protocolPrefix;
std::string searchProtocolPrefix;
unsigned int resultCountPerPage;
unsigned int estimatedResultCount;
unsigned int resultStart;
unsigned int resultEnd;
std::string protocolPrefix;
std::string searchProtocolPrefix;
std::string contentHumanReadableId;
unsigned int resultRange;
};