Let Baton methods be noexcept
[folly.git] / folly / test / ArenaSmartPtrTest.cpp
index 633494ba9e545921175a8183f7958d9a12e74f91..bad1af5ab95199e01add9b4081b4a9a1f9991fa4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 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.
  */
 
 #include <folly/Memory.h>
-#include <folly/Arena.h>
-
-#include <gtest/gtest.h>
+#include <folly/memory/Arena.h>
+#include <folly/portability/GTest.h>
 
 using namespace folly;
 
 static_assert(
-  is_simple_allocator<int,SysArena>::value,
+  is_simple_allocator<SysArena, int>::value,
   "SysArena should be a simple allocator"
 );
 
@@ -41,7 +40,7 @@ struct global_counter {
 
   unsigned count() const { return count_; }
 
-private:
+ private:
   unsigned count_;
 };
 
@@ -56,7 +55,7 @@ struct Foo {
     counter_.decrease();
   }
 
-private:
+ private:
   global_counter& counter_;
 };