From: Steinar H. Gunderson Date: Sat, 17 Oct 2020 07:55:45 +0000 (+0200) Subject: clang-format. X-Git-Tag: 1.0.5~3 X-Git-Url: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=00f2a108e271cb0bf7b4ab7b7d7eef48e3cb39e3 clang-format. --- diff --git a/plocate.cpp b/plocate.cpp index e863edb..ac0ca5e 100644 --- a/plocate.cpp +++ b/plocate.cpp @@ -501,7 +501,7 @@ void do_search_file(const vector &needles, const char *filename) // work for fairly unclear gain.) uint64_t matched = scan_all_docids(needles, fd, corpus); dprintf("Done in %.1f ms, found %" PRId64 " matches.\n", - 1e3 * duration(steady_clock::now() - start).count(), matched); + 1e3 * duration(steady_clock::now() - start).count(), matched); if (only_count) { printf("%" PRId64 "\n", matched); } diff --git a/serializer.h b/serializer.h index fbf70bc..87c86dd 100644 --- a/serializer.h +++ b/serializer.h @@ -4,8 +4,8 @@ #include "options.h" #include -#include #include +#include #include class ResultReceiver {