Commit b37af6c5 authored by Nathan Bronson's avatar Nathan Bronson Committed by Facebook GitHub Bot

fix F14 fallback build for modules

Summary:
F14MapFallback.h and F14SetFallback.h can now be compiled
standalone when F14 intrinsics are disabled.

Reviewed By: andrewjcg, yfeldblum

Differential Revision: D22785153

fbshipit-source-id: 96a1d3b2773a83dee8484fa40f35bbc791aec57c
parent ddcb6ea2
...@@ -16,7 +16,15 @@ ...@@ -16,7 +16,15 @@
#pragma once #pragma once
#include <folly/container/detail/F14IntrinsicsAvailability.h> #include <algorithm>
#include <type_traits>
#include <unordered_map>
#include <folly/Optional.h>
#include <folly/lang/Assume.h>
#include <folly/container/detail/F14Table.h>
#include <folly/container/detail/Util.h>
/** /**
* This file is intended to be included only by F14Map.h. It contains fallback * This file is intended to be included only by F14Map.h. It contains fallback
...@@ -26,13 +34,6 @@ ...@@ -26,13 +34,6 @@
#if !FOLLY_F14_VECTOR_INTRINSICS_AVAILABLE #if !FOLLY_F14_VECTOR_INTRINSICS_AVAILABLE
#include <unordered_map>
#include <algorithm>
#include <folly/Optional.h>
#include <folly/lang/Assume.h>
namespace folly { namespace folly {
namespace f14 { namespace f14 {
......
...@@ -16,7 +16,12 @@ ...@@ -16,7 +16,12 @@
#pragma once #pragma once
#include <folly/container/detail/F14IntrinsicsAvailability.h> #include <algorithm>
#include <type_traits>
#include <unordered_set>
#include <folly/container/detail/F14Table.h>
#include <folly/container/detail/Util.h>
/** /**
* This file is intended to be included only by F14Set.h. It contains fallback * This file is intended to be included only by F14Set.h. It contains fallback
...@@ -26,9 +31,6 @@ ...@@ -26,9 +31,6 @@
#if !FOLLY_F14_VECTOR_INTRINSICS_AVAILABLE #if !FOLLY_F14_VECTOR_INTRINSICS_AVAILABLE
#include <algorithm>
#include <unordered_set>
namespace folly { namespace folly {
namespace f14 { namespace f14 {
......
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