diff options
Diffstat (limited to 'header_only_include/nativehelper/scoped_local_ref.h')
-rw-r--r-- | header_only_include/nativehelper/scoped_local_ref.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/header_only_include/nativehelper/scoped_local_ref.h b/header_only_include/nativehelper/scoped_local_ref.h index cd35a88..32ae885 100644 --- a/header_only_include/nativehelper/scoped_local_ref.h +++ b/header_only_include/nativehelper/scoped_local_ref.h @@ -23,6 +23,8 @@ #include "nativehelper_utils.h" // A smart pointer that deletes a JNI local reference when it goes out of scope. +// +// For creating a `ScopedLocalRef<jstring>`, consider using `CREATE_UTF_OR_RETURN`. template<typename T> class ScopedLocalRef { public: |