/*
- * 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.
#include <algorithm>
#include <thread>
-#include <gtest/gtest.h>
-
#include <folly/AtomicLinkedList.h>
+#include <folly/portability/GTest.h>
class TestIntrusiveObject {
public:
class TestObject {
public:
- TestObject(size_t id__, std::shared_ptr<void> ptr) : id_(id__), ptr_(ptr) {}
+ TestObject(size_t id__, const std::shared_ptr<void>& ptr)
+ : id_(id__), ptr_(ptr) {}
size_t id() {
return id_;