X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fparse-time-vrp.h;h=9fb1af609d975d13c71f1d3481203ba40be0ee23;hb=00cdfe10717020423870fdaf56e973db9aba9f5a;hp=3bd12bf386bdca810b73e598361ddcb0b250cec9;hpb=bbf6069252d31e6693ee99cce8bf4f9fab47e360;p=notmuch diff --git a/lib/parse-time-vrp.h b/lib/parse-time-vrp.h index 3bd12bf3..9fb1af60 100644 --- a/lib/parse-time-vrp.h +++ b/lib/parse-time-vrp.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: Jani Nikula */ @@ -32,14 +32,15 @@ protected: public: ParseTimeValueRangeProcessor (Xapian::valueno slot_) - : valno(slot_) { } + : valno (slot_) + { + } Xapian::valueno operator() (std::string &begin, std::string &end); }; -#if HAVE_XAPIAN_FIELD_PROCESSOR class DateFieldProcessor : public Xapian::FieldProcessor { - Xapian::Query operator()(const std::string & str); + Xapian::Query operator() (const std::string & str); }; -#endif + #endif /* NOTMUCH_PARSE_TIME_VRP_H */