Fix copyright lines
[folly.git] / folly / memory / Arena.h
index ffe9f38bcec75a86e8370d7d0ea2d4a798a3319a..189954504cbab6e80316b3d6acd61aafe1877626 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2012-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,6 +27,7 @@
 #include <folly/Conv.h>
 #include <folly/Likely.h>
 #include <folly/Memory.h>
+#include <folly/lang/Align.h>
 #include <folly/memory/Malloc.h>
 
 namespace folly {
@@ -133,7 +134,7 @@ class Arena {
   typedef boost::intrusive::slist_member_hook<
     boost::intrusive::tag<Arena>> BlockLink;
 
-  struct FOLLY_ALIGNED_MAX Block {
+  struct alignas(max_align_v) Block {
     BlockLink link;
 
     // Allocate a block with at least size bytes of storage.