UnboundedQueue: Use alignas instead of FOLLY_ALIGNED
[folly.git] / folly / concurrency / UnboundedQueue.h
index 7320b6cd594ee59d57a4b206f5894b2c4e0b6b1e..2f2571cc8ecab14c2c9e9f2a722ed18485ea63a5 100644 (file)
@@ -216,11 +216,9 @@ class UnboundedQueue {
   static_assert(LgSegmentSize < 32, "LgSegmentSize must be < 32");
   static_assert(LgAlign < 16, "LgAlign must be < 16");
 
-  FOLLY_ALIGNED(Align)
-  Atom<Segment*> head_;
+  alignas(Align) Atom<Segment*> head_;
   Atom<Ticket> consumerTicket_;
-  FOLLY_ALIGNED(Align)
-  Atom<Segment*> tail_;
+  alignas(Align) Atom<Segment*> tail_;
   Atom<Ticket> producerTicket_;
 
  public: