X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fthread-fp.h;h=de837d3e7128d3ff240e0f2a33ac1319ac291830;hb=2b62ca2e3b786beca8d89fa737bda0b49faa638d;hp=47c066c1067967e2d8f9939c3ae0bc69fea2b8b0;hpb=8a3f86f2f9b53d34e001537b113628ceba20a02d;p=notmuch diff --git a/lib/thread-fp.h b/lib/thread-fp.h index 47c066c1..de837d3e 100644 --- a/lib/thread-fp.h +++ b/lib/thread-fp.h @@ -28,15 +28,17 @@ #if HAVE_XAPIAN_FIELD_PROCESSOR class ThreadFieldProcessor : public Xapian::FieldProcessor { - protected: +protected: Xapian::QueryParser &parser; notmuch_database_t *notmuch; - public: +public: ThreadFieldProcessor (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_THREAD_FP_H */