diff options
| author | uncrustify <david@tethera.net> | 2021-03-13 08:45:34 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-13 08:45:34 -0400 |
| commit | 8aeba1228ace947c1b689ae6ae08db5d53755917 (patch) | |
| tree | cd8e503fff2ce312726088e9e3cce175bd59d2b9 /lib/parse-time-vrp.cc | |
| parent | 97fadd0645e908ff8322577a983dc710bfda33d6 (diff) | |
lib: run uncrustify
This is the result of running
$ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h *.cc
in the lib directory
Diffstat (limited to 'lib/parse-time-vrp.cc')
| -rw-r--r-- | lib/parse-time-vrp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
