Switch to folly/Optional.h to use std::aligned_storage
[folly.git] / folly / Arena.h
index daea8bc16555a5b1f3de4af96b6f5042ed4cd02d..cf010f3d4375d9f9c3700f010d8111f5f06ed300 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#ifndef FOLLY_ARENA_H_
+#pragma once
 #define FOLLY_ARENA_H_
 
 #include <cassert>
 #include <limits>
 #include <stdexcept>
 #include <utility>
+
 #include <boost/intrusive/slist.hpp>
 
 #include <folly/Conv.h>
@@ -243,5 +244,3 @@ struct IsArenaAllocator<SysArena> : std::true_type { };
 }  // namespace folly
 
 #include <folly/Arena-inl.h>
-
-#endif /* FOLLY_ARENA_H_ */