Skip to content

Commit f920428

Browse files
committed
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 <[email protected]>
1 parent 71de8c0 commit f920428

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/common/config_cacher.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ class md_config_cacher_t : public md_config_obs_t {
5050
conf.remove_observer(this);
5151
}
5252

53-
operator ValueT() const {
54-
return value_cache.load();
55-
}
56-
5753
ValueT operator*() const {
5854
return value_cache.load();
5955
}

0 commit comments

Comments
 (0)