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
main
Adam Retter 6 years ago committed by Facebook Github Bot
parent e099c2dd55
commit 0d234dfce4
  1. 2
      java/rocksjni/sst_file_manager.cc

@ -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());

Loading…
Cancel
Save