rocksdb/utilities/persistent_cache
Daniel Black 64f8484356 block_cache_tier: fix gcc-7 warnings
Summary:
Error was:

utilities/persistent_cache/block_cache_tier.cc: In instantiation of ‘void rocksdb::Add(std::map<std::__cxx11::basic_string<char>, double>*, const string&, const T&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>]’:
utilities/persistent_cache/block_cache_tier.cc:147:40:   required from here
utilities/persistent_cache/block_cache_tier.cc:141:23: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers]

   stats->insert({key, static_cast<const double>(t)});

fixing like #2562
Closes https://github.com/facebook/rocksdb/pull/2603

Differential Revision: D5600910

Pulled By: yiwu-arbug

fbshipit-source-id: 891a5ec7e451d2dec6ad1b6b7fac545657f87363
2017-08-10 11:58:53 -07:00
..
block_cache_tier_file_buffer.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_cache_tier_file.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
block_cache_tier_file.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
block_cache_tier_metadata.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
block_cache_tier_metadata.h Change RocksDB License 2017-07-15 16:11:23 -07:00
block_cache_tier.cc block_cache_tier: fix gcc-7 warnings 2017-08-10 11:58:53 -07:00
block_cache_tier.h Change RocksDB License 2017-07-15 16:11:23 -07:00
hash_table_bench.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
hash_table_evictable.h Change RocksDB License 2017-07-15 16:11:23 -07:00
hash_table_test.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
hash_table.h Change RocksDB License 2017-07-15 16:11:23 -07:00
lrulist.h Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache_bench.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache_test.cc CodeMod: Prefer ADD_FAILURE() over EXPECT_TRUE(false), et cetera 2017-07-16 21:26:02 -07:00
persistent_cache_test.h Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
persistent_cache_tier.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
persistent_cache_tier.h Change RocksDB License 2017-07-15 16:11:23 -07:00
persistent_cache_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00
volatile_tier_impl.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
volatile_tier_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00