From: Steinar H. Gunderson Date: Sat, 31 Oct 2020 14:13:38 +0000 (+0100) Subject: Run clang-format. X-Git-Tag: 1.0.7~3 X-Git-Url: https://git.sesse.net/?p=plocate;a=commitdiff_plain;h=894e2278390c1f9d3bf4246685554246abfc0600 Run clang-format. --- diff --git a/turbopfor-encode.h b/turbopfor-encode.h index 4b2135f..24e007c 100644 --- a/turbopfor-encode.h +++ b/turbopfor-encode.h @@ -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; } }