Compensate for different versions of folly for open source build
Summary: ReactAndroid will need to use the deprecated version of folly::dynamic for the time being. Reviewed By: bestander Differential Revision: D3025433 fb-gh-sync-id: fee6beb65d5d0c449f1a08a0d3c593b788905001 shipit-source-id: fee6beb65d5d0c449f1a08a0d3c593b788905001
This commit is contained in:
parent
b473d496c4
commit
ab4c73c30c
|
@ -69,6 +69,7 @@ jni_library(
|
|||
compiler_flags = [
|
||||
'-Wall',
|
||||
'-Werror',
|
||||
'-Wno-deprecated-declarations',
|
||||
'-fexceptions',
|
||||
'-std=c++11',
|
||||
'-fvisibility=hidden',
|
||||
|
|
|
@ -233,7 +233,7 @@ struct WritableNativeArray
|
|||
static constexpr const char* kJavaDescriptor = "Lcom/facebook/react/bridge/WritableNativeArray;";
|
||||
|
||||
WritableNativeArray()
|
||||
: HybridBase(folly::dynamic::array) {}
|
||||
: HybridBase(folly::dynamic({})) {}
|
||||
|
||||
static local_ref<jhybriddata> initHybrid(alias_ref<jclass>) {
|
||||
return makeCxxInstance();
|
||||
|
|
Loading…
Reference in New Issue