X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fthread-fp.cc;h=06708ef291852f8ab5e1888c7e5755c18921f288;hb=084e60d54a752d9c26263e7540f8687b747203f9;hp=7327700653bcab8ead048b55257617dfe9f52bc3;hpb=f0131af6c59704e29d58eb74ed5e4bc298455272;p=notmuch diff --git a/lib/thread-fp.cc b/lib/thread-fp.cc index 73277006..06708ef2 100644 --- a/lib/thread-fp.cc +++ b/lib/thread-fp.cc @@ -24,8 +24,6 @@ #include "thread-fp.h" #include -#if HAVE_XAPIAN_FIELD_PROCESSOR - Xapian::Query ThreadFieldProcessor::operator() (const std::string & str) { @@ -42,11 +40,13 @@ ThreadFieldProcessor::operator() (const std::string & str) std::set terms; if (! subquery) - throw Xapian::QueryParserError ("failed to create subquery for '" + subquery_str + "'"); + throw Xapian::QueryParserError ("failed to create subquery for '" + subquery_str + + "'"); status = notmuch_query_search_messages (subquery, &messages); if (status) - throw Xapian::QueryParserError ("failed to search messages for '" + subquery_str + "'"); + throw Xapian::QueryParserError ("failed to search messages for '" + subquery_str + + "'"); for (; notmuch_messages_valid (messages); notmuch_messages_move_to_next (messages)) { std::string term = thread_prefix; @@ -64,4 +64,3 @@ ThreadFieldProcessor::operator() (const std::string & str) } } -#endif