From 894e2278390c1f9d3bf4246685554246abfc0600 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 31 Oct 2020 15:13:38 +0100 Subject: [PATCH] Run clang-format. --- turbopfor-encode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.2