Use the GTest portability headers
[folly.git] / folly / test / ArenaSmartPtrTest.cpp
index 5653411666bf91e82fbe9b0411e84375c780b6ce..1ac482de87555d7ca82ba7979899730fc2451835 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2016 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/StlAllocator.h"
-#include "folly/Arena.h"
-
-#include <gtest/gtest.h>
+#include <folly/Memory.h>
+#include <folly/Arena.h>
+#include <folly/portability/GTest.h>
 
 using namespace folly;
 
+static_assert(
+  is_simple_allocator<int,SysArena>::value,
+  "SysArena should be a simple allocator"
+);
+
 struct global_counter {
   global_counter(): count_(0) {}