We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9821bf8 commit 5c09888Copy full SHA for 5c09888
src/common/config_cacher.h
@@ -40,7 +40,7 @@ class md_config_cacher_t : public md_config_obs_t {
40
41
void handle_conf_change(const ConfigProxy& conf,
42
const std::set<std::string>& changed) override {
43
- if (changed.count(keys[0])) {
+ if (changed.contains(keys[0])) {
44
value_cache.store(conf.get_val<ValueT>(keys[0]));
45
}
46
0 commit comments