From accccd8e55958fd90ae04334e32ff5c22d035be9 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Tue, 8 Mar 2016 10:37:38 -0800 Subject: [PATCH] Remove use of deprecated folly::dynamic initialization Reviewed By: ot Differential Revision: D3021659 fb-gh-sync-id: 1ba5e2fcc5b30ce4b6174fb911608236c1c3084b shipit-source-id: 1ba5e2fcc5b30ce4b6174fb911608236c1c3084b --- ReactAndroid/src/main/jni/react/jni/OnLoad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp b/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp index 6dc5a0ca1..41b67602e 100644 --- a/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp +++ b/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp @@ -233,7 +233,7 @@ struct WritableNativeArray static constexpr const char* kJavaDescriptor = "Lcom/facebook/react/bridge/WritableNativeArray;"; WritableNativeArray() - : HybridBase(folly::dynamic({})) {} + : HybridBase(folly::dynamic::array) {} static local_ref initHybrid(alias_ref) { return makeCxxInstance();