From ee341f193d9893bf835bdcda68f38ee8cd61f265 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 14 Jul 2019 11:17:53 -0700 Subject: [PATCH] ircd::stats: Converge on a single callpath to get val. --- include/ircd/stats.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ircd/stats.h b/include/ircd/stats.h index 2b3f8052f..d787b5147 100644 --- a/include/ircd/stats.h +++ b/include/ircd/stats.h @@ -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 &