Fix portability issues to Linux, FreeBSD, and older libc++

Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/21764

Differential Revision: D13902907

Pulled By: hramos

fbshipit-source-id: 640cde865b1bcc5ca43c17d00574b8e2f78ceaf4
This commit is contained in:
Matt Hargett
2019-01-31 17:41:46 -08:00
committed by Facebook Github Bot
parent 1e6f5344d6
commit 36916ee99d
9 changed files with 13 additions and 6 deletions

View File

@@ -103,6 +103,7 @@ void NativeToJsBridge::loadApplication(
std::unique_ptr<RAMBundleRegistry> bundleRegistry,
std::unique_ptr<const JSBigString> startupScript,
std::string startupScriptSourceURL) {
runOnExecutorQueue(
[this,
bundleRegistryWrap=folly::makeMoveWrapper(std::move(bundleRegistry)),