Skip to content

Commit

Permalink
fix: regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent ba713c2 commit 921138e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int initialize(JavaVM* vm) {
[]() -> std::shared_ptr<HybridObject> {
static auto javaClass = jni::findClassStatic("com/margelo/nitro/image/ImageFactory");
static auto defaultConstructor = javaClass->getConstructor<JHybridImageFactorySpec::javaobject()>();

auto instance = javaClass->newObject(defaultConstructor);
#ifdef NITRO_DEBUG
if (instance == nullptr) [[unlikely]] {
Expand All @@ -68,7 +68,7 @@ int initialize(JavaVM* vm) {
[]() -> std::shared_ptr<HybridObject> {
static auto javaClass = jni::findClassStatic("com/margelo/nitro/image/HybridTestObjectKotlin");
static auto defaultConstructor = javaClass->getConstructor<JHybridTestObjectSwiftKotlinSpec::javaobject()>();

auto instance = javaClass->newObject(defaultConstructor);
#ifdef NITRO_DEBUG
if (instance == nullptr) [[unlikely]] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
///

#include <jni.h>
#include <NitroModules/NitroDefines.hpp>

namespace margelo::nitro::image {

Expand Down

0 comments on commit 921138e

Please sign in to comment.