aboutsummaryrefslogtreecommitdiffstats
path: root/java_jni/jni/jau/jau_fs_FileUtil.cxx
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-11-28 22:18:26 +0100
committerSven Gothel <[email protected]>2022-11-28 22:18:26 +0100
commit0dcaa06a81baad16012b84bfa5e46caf0a117590 (patch)
tree564316bbd1e8bdef4d3ff49c5a490fb4d3fa06db /java_jni/jni/jau/jau_fs_FileUtil.cxx
parent8d3d0194e7f4680008cb48030ad1731a51eb1166 (diff)
helper_jni, jau.fs.FileUtil.cxx: Use jau::function instead of std::function
Diffstat (limited to 'java_jni/jni/jau/jau_fs_FileUtil.cxx')
-rw-r--r--java_jni/jni/jau/jau_fs_FileUtil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java_jni/jni/jau/jau_fs_FileUtil.cxx b/java_jni/jni/jau/jau_fs_FileUtil.cxx
index f94fbb2..b92036a 100644
--- a/java_jni/jni/jau/jau_fs_FileUtil.cxx
+++ b/java_jni/jni/jau/jau_fs_FileUtil.cxx
@@ -371,7 +371,7 @@ jobject Java_org_jau_fs_FileUtil_get_1dir_1content(JNIEnv *env, jclass cls, jstr
static const std::string _dirItemClazzCtorArgs("(Ljava/lang/String;Ljava/lang/String;)V");
jclass dirItemClazz = jau::jni::search_class(env, _dirItemClassName.c_str());
jmethodID dirItemClazzCtor = jau::jni::search_method(env, dirItemClazz, "<init>", _dirItemClazzCtorArgs.c_str(), false);
- std::function<jobject(JNIEnv*, const jau::fs::dir_item&)> ctor_diritem =
+ jau::function<jobject(JNIEnv*, const jau::fs::dir_item&)> ctor_diritem =
[&](JNIEnv *env_, const jau::fs::dir_item& di)->jobject {
jstring dname = jau::jni::from_string_to_jstring(env_, di.dirname());
jstring bname = jau::jni::from_string_to_jstring(env_, di.basename());