]> git.sesse.net Git - plocate/commitdiff
clang-format.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 17 Oct 2020 07:55:45 +0000 (09:55 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 17 Oct 2020 07:55:45 +0000 (09:55 +0200)
plocate.cpp
serializer.h

index e863edbc4ab9294c89bcbd45e822c560190e0f7f..ac0ca5e43de8f1416cc8c516c31cc8cf1b3a7937 100644 (file)
@@ -501,7 +501,7 @@ void do_search_file(const vector<Needle> &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<float>(steady_clock::now() - start).count(), matched);
+                       1e3 * duration<float>(steady_clock::now() - start).count(), matched);
                if (only_count) {
                        printf("%" PRId64 "\n", matched);
                }
index fbf70bc8b065bc5f3fe56cb8246bb879efde96bd..87c86dd743fe8b8258d078d091900cc20cbbcd38 100644 (file)
@@ -4,8 +4,8 @@
 #include "options.h"
 
 #include <assert.h>
-#include <stdint.h>
 #include <queue>
+#include <stdint.h>
 #include <string>
 
 class ResultReceiver {