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
main
parent
0cecf8155b
commit
64f8484356
Loading…
Reference in new issue