Index: src/base/bits.h |
diff --git a/src/base/bits.h b/src/base/bits.h |
index abcfd9a9eddce4a45671712d7abbb5da6f0d5fbf..f5710dfb5c964f665b97aeba7513f43e2b0e43d9 100644 |
--- a/src/base/bits.h |
+++ b/src/base/bits.h |
@@ -105,8 +105,8 @@ inline unsigned CountTrailingZeros32(uint32_t value) { |
#else |
if (value == 0) return 32; |
unsigned count = 0; |
- for (value ^= value - 1; value >>= 1; ++count) |
- ; |
+ for (value ^= value - 1; value >>= 1; ++count) { |
+ } |
return count; |
#endif |
} |
@@ -121,8 +121,8 @@ inline unsigned CountTrailingZeros64(uint64_t value) { |
#else |
if (value == 0) return 64; |
unsigned count = 0; |
- for (value ^= value - 1; value >>= 1; ++count) |
- ; |
+ for (value ^= value - 1; value >>= 1; ++count) { |
+ } |
return count; |
#endif |
} |