summaryrefslogtreecommitdiffstats
path: root/include/jau
diff options
context:
space:
mode:
Diffstat (limited to 'include/jau')
-rw-r--r--include/jau/jni/jni_mem.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jau/jni/jni_mem.hpp b/include/jau/jni/jni_mem.hpp
index ba5a282..b99f68a 100644
--- a/include/jau/jni/jni_mem.hpp
+++ b/include/jau/jni/jni_mem.hpp
@@ -80,6 +80,7 @@ extern thread_local JNIEnvContainer jni_env;
*/
class JNIGlobalRef {
private:
+ friend class JavaGlobalObj;
mutable std::mutex mtx;
jobject object;