Fix copyright lines
[folly.git] / folly / test / ArenaSmartPtrTest.cpp
index 54b8262a10634990c3bd8e1b1b89faca395b7bd4..aade81131e451f24cce7d375a42740545c2df5be 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2013-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.
  * @author: Marcelo Juchem <marcelo@fb.com>
  */
 
-#include "folly/Memory.h"
-#include "folly/Arena.h"
-
-#include <gtest/gtest.h>
+#include <folly/Memory.h>
+#include <folly/memory/Arena.h>
+#include <folly/portability/GTest.h>
 
 using namespace folly;
 
+static_assert(
+  is_simple_allocator<SysArena, int>::value,
+  "SysArena should be a simple allocator"
+);
+
 struct global_counter {
   global_counter(): count_(0) {}
 
@@ -36,7 +40,7 @@ struct global_counter {
 
   unsigned count() const { return count_; }
 
-private:
+ private:
   unsigned count_;
 };
 
@@ -51,7 +55,7 @@ struct Foo {
     counter_.decrease();
   }
 
-private:
+ private:
   global_counter& counter_;
 };