Commit a2000975 authored by Orvid King's avatar Orvid King Committed by Facebook GitHub Bot

Include used headerrs in AtomicSharedPtrCounted.h

Summary: Also re-order the test slightly to catch this.

Reviewed By: yfeldblum

Differential Revision: D25704580

fbshipit-source-id: 1421daed11a0d41e1b99d573b38fc8fc70381486
parent c4b6d52e
......@@ -16,6 +16,13 @@
#pragma once
#include <atomic>
#include <cstdint>
#include <stdexcept>
#include <type_traits>
#include <glog/logging.h>
struct counted_shared_tag {};
template <template <typename> class Atom = std::atomic>
struct intrusive_shared_count {
......
......@@ -20,12 +20,13 @@
// other vendors
#ifdef FOLLY_USE_LIBSTDCPP
#include <folly/concurrency/test/AtomicSharedPtrCounted.h>
#include <atomic>
#include <memory>
#include <thread>
#include <folly/concurrency/AtomicSharedPtr.h>
#include <folly/concurrency/test/AtomicSharedPtrCounted.h>
#include <folly/portability/GTest.h>
#include <folly/test/DeterministicSchedule.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment