X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fparse-time-vrp.cc;h=22bf2ab5336980f8cbd9660e3ae4eb58bd7a9b97;hp=10809aa37453306ef9fc117c3d24f34fa52af581;hb=8aeba1228ace947c1b689ae6ae08db5d53755917;hpb=97fadd0645e908ff8322577a983dc710bfda33d6 diff --git a/lib/parse-time-vrp.cc b/lib/parse-time-vrp.cc index 10809aa3..22bf2ab5 100644 --- a/lib/parse-time-vrp.cc +++ b/lib/parse-time-vrp.cc @@ -35,14 +35,14 @@ ParseTimeRangeProcessor::operator() (const std::string &begin, const std::string if (time (&now) == (time_t) -1) throw Xapian::QueryParserError ("unable to get current time"); - if (!begin.empty ()) { + if (! begin.empty ()) { if (parse_time_string (begin.c_str (), &parsed_time, &now, PARSE_TIME_ROUND_DOWN)) throw Xapian::QueryParserError ("Didn't understand date specification '" + begin + "'"); else from = (double) parsed_time; } - if (!end.empty ()) { + if (! end.empty ()) { if (end == "!" && ! begin.empty ()) str = begin; else