Removing default parameters to functions in JSBase.h

Differential Revision: D4309440

fbshipit-source-id: f4f795d5736c6d6e5297e2773538df66139e9b84
This commit is contained in:
Ashok Menon
2016-12-10 05:44:33 -08:00
committed by Facebook Github Bot
parent 46919095aa
commit f3dbf3ea89

View File

@@ -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,