Commit 7f31d770 authored by Andrew Twyman's avatar Andrew Twyman

Remove disruptive std::move

parent 3013c5fe
...@@ -245,7 +245,7 @@ LocalRef<jobject> JniEnum::create(JNIEnv * env, jint value) const { ...@@ -245,7 +245,7 @@ LocalRef<jobject> JniEnum::create(JNIEnv * env, jint value) const {
env->GetObjectArrayElement(static_cast<jobjectArray>(values.get()), env->GetObjectArrayElement(static_cast<jobjectArray>(values.get()),
value)); value));
jniExceptionCheck(env); jniExceptionCheck(env);
return std::move(result); return result;
} }
JniLocalScope::JniLocalScope(JNIEnv* p_env, jint capacity, bool throwOnError) JniLocalScope::JniLocalScope(JNIEnv* p_env, jint capacity, bool throwOnError)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment