Open
Description
当我将 snap-djinni 移植到自己的项目,并尝试使用 DataRef时,有以下报错:
DataRef_jni.cpp:34:25: error: object of type 'GlobalRef<jclass>' (aka 'GlobalRef<_jclass *>') cannot be assigned because its copy assignment operator is implicitly deleted classObject = jniFindClass("java/nio/ByteBuffer");
The tips are as follows:
copy assignment operator is implicitly deleted because 'GlobalRef<_jclass *>' has a user-declared move constructor GlobalRef(GlobalRef && obj)
Have you encountered similar problems?
I did not encounter the above problems when I tried to compile and run the demo.
Metadata
Metadata
Assignees
Labels
No labels