From 8e404d8fbf35deb7ead8db3b995bb9c793cd472f Mon Sep 17 00:00:00 2001 From: Li Feng Date: Fri, 26 Jul 2024 14:46:22 +1000 Subject: [PATCH] test --- support-lib/jni/Marshal.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/support-lib/jni/Marshal.hpp b/support-lib/jni/Marshal.hpp index 87a56a5c..fe158020 100644 --- a/support-lib/jni/Marshal.hpp +++ b/support-lib/jni/Marshal.hpp @@ -325,10 +325,10 @@ namespace djinni return c ? T::Boxed::fromCpp(jniEnv, *c) : LocalRef{ }; } - static LocalRef fromCpp(JNIEnv* jniEnv, OptionalType&& c) - { - return c ? T::Boxed::fromCpp(jniEnv, std::move(*c)) : LocalRef{ }; - } + // static LocalRef fromCpp(JNIEnv* jniEnv, OptionalType&& c) + // { + // return c ? T::Boxed::fromCpp(jniEnv, std::move(*c)) : LocalRef{ }; + // } // fromCpp used for nullable shared_ptr template