+ 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 */ /* 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 */

View File

@ -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;
}; };