aboutsummaryrefslogtreecommitdiffstats
path: root/java/jni/direct_bt/DBTAdapter.cxx
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-05-14 14:04:27 +0200
committerSven Gothel <[email protected]>2020-05-14 14:04:27 +0200
commit9e1dec8ed7c5b71f45c35817101e3f5b03e5d4aa (patch)
treed4ec1eb88326ae62616da61df6040803253e1135 /java/jni/direct_bt/DBTAdapter.cxx
parentd198176d2fbe5c88cf81ffb647abced753af52c2 (diff)
jni helper: Unique rename for 'convert_vector*(..)' template functions
Diffstat (limited to 'java/jni/direct_bt/DBTAdapter.cxx')
-rw-r--r--java/jni/direct_bt/DBTAdapter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTAdapter.cxx b/java/jni/direct_bt/DBTAdapter.cxx
index f4b87195..581ea15d 100644
--- a/java/jni/direct_bt/DBTAdapter.cxx
+++ b/java/jni/direct_bt/DBTAdapter.cxx
@@ -421,7 +421,7 @@ jobject Java_direct_1bt_tinyb_DBTAdapter_getDiscoveredDevicesImpl(JNIEnv *env, j
try {
DBTAdapter *adapter = getInstance<DBTAdapter>(env, obj);
std::vector<std::shared_ptr<DBTDevice>> array = adapter->getDiscoveredDevices();
- return convert_vector_to_jobject(env, array);
+ return convert_vector_sharedptr_to_jarraylist(env, array);
} catch(...) {
rethrow_and_raise_java_exception(env);
}