mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 22:41:28 +08:00
Removing default parameters to functions in JSBase.h
Differential Revision: D4309440 fbshipit-source-id: f4f795d5736c6d6e5297e2773538df66139e9b84
This commit is contained in:
committed by
Facebook Github Bot
parent
46919095aa
commit
f3dbf3ea89
@@ -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<std::runtime_error>(
|
||||
sourceCode != nullptr,
|
||||
|
||||
Reference in New Issue
Block a user