Skip to content
Browse files

Fix usage of old String constructor

Reviewed By: amnn

Differential Revision: D4204575

fbshipit-source-id: ea0309ec9bf2c8a4c480188efb00408fcc399e2e
  • Loading branch information
javache authored and Facebook Github Bot committed Nov 18, 2016
1 parent 20514e3 commit 2a0456992690a6cbd2a7457855695d2cc07dd227
Showing with 1 addition and 1 deletion.
  1. +1 −1 ReactCommon/cxxreact/JSCExecutor.cpp
@@ -368,7 +368,7 @@ void JSCExecutor::loadApplicationScript(
int fd,
std::string sourceURL)
String jsSourceURL {sourceURL.c_str()};
String jsSourceURL(m_context, sourceURL.c_str());

auto bcSourceCode = JSCreateCompiledSourceCode(fd, jsSourceURL);
if (!bcSourceCode) {

0 comments on commit 2a04569

Please sign in to comment.
You can’t perform that action at this time.