X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fquery-fp.h;h=8a8bde62a7977d5e63622a90fc835373b70bb4f2;hp=67f8705dab41d27ef5fb599c31f5fdad41f4f27f;hb=1b29822cf55eb53e1d45a71c2a3e4a2c2a4574d1;hpb=b9bf3f44eacd42ce53885c79f9dad8d82c76f13d diff --git a/lib/query-fp.h b/lib/query-fp.h index 67f8705d..8a8bde62 100644 --- a/lib/query-fp.h +++ b/lib/query-fp.h @@ -15,7 +15,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: David Bremner */ @@ -28,15 +28,17 @@ #if HAVE_XAPIAN_FIELD_PROCESSOR class QueryFieldProcessor : public Xapian::FieldProcessor { - protected: +protected: Xapian::QueryParser &parser; notmuch_database_t *notmuch; - public: +public: QueryFieldProcessor (Xapian::QueryParser &parser_, notmuch_database_t *notmuch_) - : parser(parser_), notmuch(notmuch_) { }; + : parser (parser_), notmuch (notmuch_) + { + }; - Xapian::Query operator()(const std::string & str); + Xapian::Query operator() (const std::string & str); }; #endif #endif /* NOTMUCH_QUERY_FP_H */