Commit 05a56e4c authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Move folly/Functional.h

Summary: [Folly] Move `folly/Functional.h` to `folly/lang/RValueReferenceWrapper.h`.

Reviewed By: Orvid

Differential Revision: D6242160

fbshipit-source-id: a8ec42106cfe0ea617c87d382694d5eb2f0f61a0
parent 6ca1c3b6
...@@ -314,6 +314,7 @@ nobase_follyinclude_HEADERS = \ ...@@ -314,6 +314,7 @@ nobase_follyinclude_HEADERS = \
json.h \ json.h \
lang/Assume.h \ lang/Assume.h \
lang/Launder.h \ lang/Launder.h \
lang/RValueReferenceWrapper.h \
lang/SafeAssert.h \ lang/SafeAssert.h \
Lazy.h \ Lazy.h \
LifoSem.h \ LifoSem.h \
...@@ -453,7 +454,6 @@ nobase_follyinclude_HEADERS = \ ...@@ -453,7 +454,6 @@ nobase_follyinclude_HEADERS = \
Try.h \ Try.h \
Unicode.h \ Unicode.h \
Function.h \ Function.h \
Functional.h \
UncaughtExceptions.h \ UncaughtExceptions.h \
Unit.h \ Unit.h \
Uri.h \ Uri.h \
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>
#include <folly/Functional.h> #include <folly/lang/RValueReferenceWrapper.h>
namespace folly { namespace folly {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <utility> #include <utility>
#include <folly/Functional.h> #include <folly/lang/RValueReferenceWrapper.h>
#include <folly/portability/GTest.h> #include <folly/portability/GTest.h>
TEST(RvalueReferenceWrapper, MoveAndConvert) { TEST(RvalueReferenceWrapper, MoveAndConvert) {
......
...@@ -328,10 +328,10 @@ function_test_SOURCES = \ ...@@ -328,10 +328,10 @@ function_test_SOURCES = \
function_test_LDADD = libfollytestmain.la function_test_LDADD = libfollytestmain.la
TESTS += function_test TESTS += function_test
functional_test_SOURCES = \ rvalue_reference_wrapper_test_SOURCES = \
FunctionalTest.cpp ../lang/RValueReferenceWrapperTest.cpp
functional_test_LDADD = libfollytestmain.la rvalue_reference_wrapper_test_LDADD = libfollytestmain.la
TESTS += functional_test TESTS += rvalue_reference_wrapper_test
ssl_test_SOURCES = \ ssl_test_SOURCES = \
../ssl/test/OpenSSLHashTest.cpp ../ssl/test/OpenSSLHashTest.cpp
......
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