Skip to content

Commit

Permalink
[refactor]....
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Jul 4, 2024
1 parent c03f942 commit c73dcfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp-ch/local-engine/jni/jni_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,11 @@ class SafeNativeArray {
SafeNativeArray& operator=(const SafeNativeArray&) = delete;
SafeNativeArray& operator=(SafeNativeArray&&) = delete;

const NativeArrayType elems() const {
NativeArrayType elems() const {
return reinterpret_cast<const NativeArrayType>(nativeArray_);
}

const jsize length() const {
jsize length() const {
return env_->GetArrayLength(javaArray_);
}

Expand Down

0 comments on commit c73dcfc

Please sign in to comment.