X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fparse-time-vrp.cc;h=168d58106db6e700bdf414cab1b120cb9cb49f75;hb=00cdfe10717020423870fdaf56e973db9aba9f5a;hp=45db959718e30c5f9178ef02cb050864bef4cb1e;hpb=1979145b91fa85d6952b94db561a46238265d910;p=notmuch diff --git a/lib/parse-time-vrp.cc b/lib/parse-time-vrp.cc index 45db9597..168d5810 100644 --- a/lib/parse-time-vrp.cc +++ b/lib/parse-time-vrp.cc @@ -65,7 +65,6 @@ ParseTimeValueRangeProcessor::operator() (std::string &begin, std::string &end) return valno; } -#if HAVE_XAPIAN_FIELD_PROCESSOR /* XXX TODO: is throwing an exception the right thing to do here? */ Xapian::Query DateFieldProcessor::operator() (const std::string & str) @@ -86,4 +85,3 @@ DateFieldProcessor::operator() (const std::string & str) Xapian::Query (Xapian::Query::OP_VALUE_GE, 0, Xapian::sortable_serialise ((double) from)), Xapian::Query (Xapian::Query::OP_VALUE_LE, 0, Xapian::sortable_serialise ((double) to))); } -#endif