Skip to content

Commit f9767e6

Browse files
Update library/src/main/cpp/util.cpp
Co-authored-by: SessionHero01 <[email protected]>
1 parent f698b87 commit f9767e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/cpp/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace util {
1818

1919
std::mutex util_mutex_ = std::mutex();
2020

21-
jbyteArray bytes_from_vector(JNIEnv* env, std::vector<unsigned char> from_str) {
21+
jbyteArray bytes_from_vector(JNIEnv* env, const std::vector<unsigned char> &from_str) {
2222
size_t length = from_str.size();
2323
auto jlength = (jsize)length;
2424
jbyteArray new_array = env->NewByteArray(jlength);

0 commit comments

Comments
 (0)