From 0704bd04222ebd745bffa731319d88493605d932 Mon Sep 17 00:00:00 2001 From: Scott Wolchok Date: Mon, 1 Feb 2016 13:17:55 -0800 Subject: [PATCH] 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 --- folly/Optional.h | 4 ---- folly/test/OptionalTest.cpp | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/folly/Optional.h b/folly/Optional.h index 18320090..38f198fd 100644 --- a/folly/Optional.h +++ b/folly/Optional.h @@ -59,10 +59,6 @@ #include #include -#include - -#include - namespace folly { namespace detail { struct NoneHelper {}; } diff --git a/folly/test/OptionalTest.cpp b/folly/test/OptionalTest.cpp index bcf08476..75b9ddf2 100644 --- a/folly/test/OptionalTest.cpp +++ b/folly/test/OptionalTest.cpp @@ -15,6 +15,7 @@ */ #include +#include #include #include -- 2.34.1