From 2acadfb0c9041cdca56acd81e27034760b6326d3 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Tue, 24 Apr 2012 15:20:09 +0000 Subject: [PATCH] + remove small -reorder compilation warning --- src/common/kiwix/searcher.cpp | 6 +++--- src/common/kiwix/searcher.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/kiwix/searcher.cpp b/src/common/kiwix/searcher.cpp index 360b7ceac..c1804c3c0 100644 --- a/src/common/kiwix/searcher.cpp +++ b/src/common/kiwix/searcher.cpp @@ -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 */ diff --git a/src/common/kiwix/searcher.h b/src/common/kiwix/searcher.h index 8c7e27fcc..6b5cfb5b2 100644 --- a/src/common/kiwix/searcher.h +++ b/src/common/kiwix/searcher.h @@ -86,12 +86,12 @@ namespace kiwix { std::vector results; std::vector::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; };