Commit d6e6f8b4 authored by Maged Michael's avatar Maged Michael Committed by Facebook Github Bot 5

folly/experimental/hazptr: fix gcc 5 build

Summary: Fix includes in memory_resource.h

Reviewed By: yfeldblum

Differential Revision: D3935848

fbshipit-source-id: 713ce85ad17072779dfa1c667459e367c5e1d4b7
parent c532329a
...@@ -15,16 +15,17 @@ ...@@ -15,16 +15,17 @@
*/ */
#pragma once #pragma once
namespace folly {
namespace hazptr {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// Disclaimer: This is intended only as a partial stand-in for /// Disclaimer: This is intended only as a partial stand-in for
/// std::pmr::memory_resource (C++17) as needed for developing a /// std::pmr::memory_resource (C++17) as needed for developing a
/// hazptr prototype. /// hazptr prototype.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include <cstddef>
#include <memory> #include <memory>
namespace folly {
namespace hazptr {
class memory_resource { class memory_resource {
public: public:
virtual ~memory_resource() = default; virtual ~memory_resource() = default;
......
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