summaryrefslogtreecommitdiff
path: root/src/support/bits.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/bits.h')
-rw-r--r--src/support/bits.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/support/bits.h b/src/support/bits.h
index a34bc5067..9c68a7a15 100644
--- a/src/support/bits.h
+++ b/src/support/bits.h
@@ -31,9 +31,7 @@
* avoiding implementations with large lookup tables.
*/
-namespace wasm {
-
-namespace Bits {
+namespace wasm::Bits {
int popCount(uint8_t);
int popCount(uint16_t);
@@ -96,8 +94,6 @@ template<typename T, typename U> inline static T rotateRight(T val, U count) {
uint32_t log2(uint32_t v);
uint32_t pow2(uint32_t v);
-} // namespace Bits
-
-} // namespace wasm
+} // namespace wasm::Bits
#endif // wasm_support_bits_h