rocksdb/env
sdong 39410bcb3d Fix some shadow warning (#6242)
Summary:
Some shadow warning shows up when using gcc 4.8. An example:

./utilities/blob_db/blob_compaction_filter.h: In constructor ‘rocksdb::blob_db::BlobIndexCompactionFilterFactoryBase::BlobIndexCompactionFilterFactoryBase(rocksdb::blob_db::lobDBImpl*, rocksdb::Env*, rocksdb::Statistics*)’:
./utilities/blob_db/blob_compaction_filter.h:121:7: error: declaration of ‘blob_db_impl’ shadows a member of 'this' [-Werror=shadow]
       : blob_db_impl_(blob_db_impl), env_(_env), statistics_(_statistics) {}
       ^

Fix them.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6242

Test Plan: Build and see the warnings go away.

Differential Revision: D19217789

fbshipit-source-id: 8ef631941f23dab47a388e060adec24b72efd65e
2020-01-08 18:20:13 -08:00
..
composite_env_wrapper.h Fix some shadow warning (#6242) 2020-01-08 18:20:13 -08:00
env_basic_test.cc The ObjectRegistry class replaces the Registrar and NewCustomObjects.… (#5293) 2019-07-23 17:13:05 -07:00
env_chroot.cc Apply modernize-use-override (3) 2019-02-19 13:39:49 -08:00
env_chroot.h Change RocksDB License 2017-07-15 16:11:23 -07:00
env_encryption.cc Fix EncryptedEnv assert (#5735) 2019-09-05 17:21:42 -07:00
env_hdfs.cc Fix compilation with USE_HDFS (#5444) 2019-06-18 14:55:59 -07:00
env_posix.cc Fix unity test (#6178) 2019-12-14 15:39:41 -08:00
env_test.cc Fix block cache ID uniqueness for Windows builds (#5844) 2019-10-11 18:19:31 -07:00
env.cc Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
file_system.cc Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
fs_posix.cc Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
io_posix.cc Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
io_posix.h Introduce a new storage specific Env API (#5761) 2019-12-13 14:48:41 -08:00
mock_env_test.cc Move test related files under util/ to test_util/ (#5377) 2019-05-30 11:25:51 -07:00
mock_env.cc Use delete to disable automatic generated methods. (#5009) 2019-09-11 18:09:00 -07:00
mock_env.h Update all unique/shared_ptr instances to be qualified with namespace std (#4638) 2018-11-09 11:19:58 -08:00