Commit 0704bd04 authored by Scott Wolchok's avatar Scott Wolchok Committed by facebook-github-bot-1

Remove unnecessary includes from Optional.h

Summary:
I want to be able to include this in
fbobjc/xplat/folly:headers_only, but it currently pulls in a boost
header and Portability.h. Fortunately, neither of those includes are
needed.

Reviewed By: ddrcoder, yfeldblum, mhorowitz

Differential Revision: D2880443

fb-gh-sync-id: 409561b8fb555ac3946d59cd6657c6c643b67c86
parent db12591c
...@@ -59,10 +59,6 @@ ...@@ -59,10 +59,6 @@
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>
#include <boost/operators.hpp>
#include <folly/Portability.h>
namespace folly { namespace folly {
namespace detail { struct NoneHelper {}; } namespace detail { struct NoneHelper {}; }
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
*/ */
#include <folly/Optional.h> #include <folly/Optional.h>
#include <folly/Portability.h>
#include <memory> #include <memory>
#include <vector> #include <vector>
......
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