Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
li-feng-sc committed Jul 26, 2024
1 parent d29731e commit 8e404d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions support-lib/jni/Marshal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ namespace djinni
return c ? T::Boxed::fromCpp(jniEnv, *c) : LocalRef<JniType>{ };
}

static LocalRef<JniType> fromCpp(JNIEnv* jniEnv, OptionalType<typename T::CppType>&& c)
{
return c ? T::Boxed::fromCpp(jniEnv, std::move(*c)) : LocalRef<JniType>{ };
}
// static LocalRef<JniType> fromCpp(JNIEnv* jniEnv, OptionalType<typename T::CppType>&& c)
// {
// return c ? T::Boxed::fromCpp(jniEnv, std::move(*c)) : LocalRef<JniType>{ };
// }

// fromCpp used for nullable shared_ptr
template <typename C = T>
Expand Down

0 comments on commit 8e404d8

Please sign in to comment.