mirror of https://github.com/ceph/ceph
common: rm the cast operator of md_config_cacher_t
as its replacement - the type-deduced operator() - is now in use, and the resulting code is more readable and less error-prone. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
This commit is contained in:
parent
71de8c0acc
commit
f92042853a
|
@ -50,10 +50,6 @@ public:
|
|||
conf.remove_observer(this);
|
||||
}
|
||||
|
||||
operator ValueT() const {
|
||||
return value_cache.load();
|
||||
}
|
||||
|
||||
ValueT operator*() const {
|
||||
return value_cache.load();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue