]> git.sesse.net Git - plocate/commitdiff
Run clang-format.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 31 Oct 2020 14:13:38 +0000 (15:13 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 31 Oct 2020 14:13:38 +0000 (15:13 +0100)
turbopfor-encode.h

index 4b2135f96509e45b89f42e20ce99c399c3088806..24e007cdc070e902bb9ea4b250b9d8bbb1d33505 100644 (file)
@@ -104,8 +104,8 @@ inline unsigned num_bits(Docid x)
                return sizeof(Docid) * CHAR_BIT - __builtin_clz(x);
        }
 #else
-       for (int i = sizeof(Docid) * CHAR_BIT; i-- > 0; ) {
-               if (x & (Docid{1} << i)) {
+       for (int i = sizeof(Docid) * CHAR_BIT; i-- > 0;) {
+               if (x & (Docid{ 1 } << i)) {
                        return i;
                }
        }