From d6e6f8b4858d0f5f4bc84629a5d753030e5c9767 Mon Sep 17 00:00:00 2001 From: Maged Michael Date: Wed, 28 Sep 2016 01:36:57 -0700 Subject: [PATCH] folly/experimental/hazptr: fix gcc 5 build Summary: Fix includes in memory_resource.h Reviewed By: yfeldblum Differential Revision: D3935848 fbshipit-source-id: 713ce85ad17072779dfa1c667459e367c5e1d4b7 --- folly/experimental/hazptr/memory_resource.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/folly/experimental/hazptr/memory_resource.h b/folly/experimental/hazptr/memory_resource.h index d24abf69..cf53c806 100644 --- a/folly/experimental/hazptr/memory_resource.h +++ b/folly/experimental/hazptr/memory_resource.h @@ -15,16 +15,17 @@ */ #pragma once -namespace folly { -namespace hazptr { - //////////////////////////////////////////////////////////////////////////////// /// Disclaimer: This is intended only as a partial stand-in for /// std::pmr::memory_resource (C++17) as needed for developing a /// hazptr prototype. //////////////////////////////////////////////////////////////////////////////// +#include #include +namespace folly { +namespace hazptr { + class memory_resource { public: virtual ~memory_resource() = default; -- 2.34.1