mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::stats: Converge on a single callpath to get val.
This commit is contained in:
parent
c92b6aafd5
commit
ee341f193d
1 changed files with 3 additions and 3 deletions
|
@ -99,20 +99,20 @@ inline bool
|
|||
ircd::stats::item::operator!()
|
||||
const
|
||||
{
|
||||
return !val;
|
||||
return !get(*this);
|
||||
}
|
||||
|
||||
inline ircd::stats::item::operator
|
||||
value_type &()
|
||||
{
|
||||
return val;
|
||||
return get(*this);
|
||||
}
|
||||
|
||||
inline ircd::stats::item::operator
|
||||
const value_type &()
|
||||
const
|
||||
{
|
||||
return val;
|
||||
return get(*this);
|
||||
}
|
||||
|
||||
inline ircd::stats::value_type &
|
||||
|
|
Loading…
Reference in a new issue