diff --git a/src/main/native/include/support/jni_util.h b/src/main/native/include/support/jni_util.h index 867c60f7fb..ef364f5ac8 100644 --- a/src/main/native/include/support/jni_util.h +++ b/src/main/native/include/support/jni_util.h @@ -187,6 +187,7 @@ class JArrayRefBase : public JArrayRefInner, T> { this->m_elements = oth.m_elements; oth.m_jarr = nullptr; oth.m_elements = nullptr; + return *this; } protected: