From f3dbf3ea897ebc2364f8e1bfefd3ece6cfc5900f Mon Sep 17 00:00:00 2001 From: Ashok Menon Date: Sat, 10 Dec 2016 05:44:33 -0800 Subject: [PATCH] Removing default parameters to functions in `JSBase.h` Differential Revision: D4309440 fbshipit-source-id: f4f795d5736c6d6e5297e2773538df66139e9b84 --- ReactCommon/cxxreact/JSCExecutor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/cxxreact/JSCExecutor.cpp b/ReactCommon/cxxreact/JSCExecutor.cpp index d31ac38af..cc49b719a 100644 --- a/ReactCommon/cxxreact/JSCExecutor.cpp +++ b/ReactCommon/cxxreact/JSCExecutor.cpp @@ -334,7 +334,7 @@ void JSCExecutor::loadApplicationScript( int fd = open((bundlePath + UNPACKED_BYTECODE_SUFFIX).c_str(), O_RDONLY); folly::checkUnixError(fd, "Couldn't open compiled bundle"); SCOPE_EXIT { close(fd); }; - sourceCode = JSCreateCompiledSourceCode(fd, jsSourceURL); + sourceCode = JSCreateCompiledSourceCode(fd, jsSourceURL, nullptr); folly::throwOnFail( sourceCode != nullptr,