Fix the assumption in the propagate_const test about local layout
[folly.git] / folly / Conv.h
index a545816d327307ff460b7d99cd91a388115fc562..b37e1aa03979341aa630b42b59c312fa66fcd6f7 100644 (file)
@@ -303,7 +303,7 @@ inline uint32_t digits10(uint64_t v) {
   // 10^i, defined for i 0 through 19.
   // This is 20 * 8 == 160 bytes, which fits neatly into 5 cache lines
   // (assuming a cache line size of 64).
-  static const uint64_t powersOf10[20] FOLLY_ALIGNED(64) = {
+  alignas(64) static const uint64_t powersOf10[20] = {
       1,
       10,
       100,