diff --git a/ReactAndroid/src/main/jni/react/JSCPerfLogging.cpp b/ReactAndroid/src/main/jni/react/JSCPerfLogging.cpp index 85a769682..3700b14c0 100644 --- a/ReactAndroid/src/main/jni/react/JSCPerfLogging.cpp +++ b/ReactAndroid/src/main/jni/react/JSCPerfLogging.cpp @@ -16,7 +16,7 @@ namespace facebook { namespace jni { template<> -class JObjectWrapper<jqpl> : public JObject { +class JObjectWrapper<jqpl> : public JObjectWrapper<jobject> { public: static constexpr const char* kJavaDescriptor = "Lcom/facebook/quicklog/QuickPerformanceLogger;"; @@ -65,7 +65,7 @@ using JQuickPerformanceLogger = JObjectWrapper<jqpl>; template<> -class JObjectWrapper<jqplProvider> : public JObject { +class JObjectWrapper<jqplProvider> : public JObjectWrapper<jobject> { public: static constexpr const char* kJavaDescriptor = "Lcom/facebook/quicklog/QuickPerformanceLoggerProvider;";