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
This commit is contained in:
Adam Retter 2018-07-02 10:21:26 -07:00 committed by Sagar Vemuri
parent 0ac22f2921
commit 32ccae27f4

View File

@ -138,7 +138,7 @@ jobject Java_org_rocksdb_SstFileManager_getTrackedFiles(JNIEnv* env,
const rocksdb::HashMapJni::FnMapKV<const std::string, const uint64_t> const rocksdb::HashMapJni::FnMapKV<const std::string, const uint64_t>
fn_map_kv = fn_map_kv =
[env, &tracked_files]( [env](
const std::pair<const std::string, const uint64_t>& pair) { const std::pair<const std::string, const uint64_t>& pair) {
const jstring jtracked_file_path = const jstring jtracked_file_path =
env->NewStringUTF(pair.first.c_str()); env->NewStringUTF(pair.first.c_str());