From 0d234dfce4871d033dbfe811f107c627f1e5e3e4 Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Mon, 2 Jul 2018 10:21:26 -0700 Subject: [PATCH] Remove unused arg which causes compilation failure (#4080) Summary: It seems that compilation has been made stricter about unused args. Closes https://github.com/facebook/rocksdb/pull/4080 Differential Revision: D8712049 Pulled By: sagar0 fbshipit-source-id: 984af1982638af3568aac1a167f565f4741badee --- java/rocksjni/sst_file_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/rocksjni/sst_file_manager.cc b/java/rocksjni/sst_file_manager.cc index 4b410ba2f..440411c39 100644 --- a/java/rocksjni/sst_file_manager.cc +++ b/java/rocksjni/sst_file_manager.cc @@ -138,7 +138,7 @@ jobject Java_org_rocksdb_SstFileManager_getTrackedFiles(JNIEnv* env, const rocksdb::HashMapJni::FnMapKV fn_map_kv = - [env, &tracked_files]( + [env]( const std::pair& pair) { const jstring jtracked_file_path = env->NewStringUTF(pair.first.c_str());