fixed an initialization order warning
authorMartin Vidner <mvidner@suse.cz>
Tue, 31 Oct 2006 20:38:11 +0000 (20:38 +0000)
committerMartin Vidner <mvidner@suse.cz>
Tue, 31 Oct 2006 20:38:11 +0000 (20:38 +0000)
src/zypper-search.h

index 786b2f3..cec9d36 100644 (file)
@@ -237,8 +237,8 @@ struct FillTable
  * descriptions) with a regex created according to search criteria.
  */
 struct Match {
-  const bool _search_descs;
   const boost::regex * _regex;
+  const bool _search_descs;
 
   Match(const boost::regex & regex, bool search_descriptions = false) :
     _regex(&regex), _search_descs(search_descriptions)