From 4eea8acaf2c3a7b2103f827d81c15379efde4a7c Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 16 Mar 2009 15:16:58 -0700 Subject: stats: fix compiler error --- src/base/statistics.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/statistics.hh') diff --git a/src/base/statistics.hh b/src/base/statistics.hh index 06c15a77d..88704207d 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -961,13 +961,13 @@ class ScalarProxy * Return the current value of this stat as its base type. * @return The current value. */ - Counter value() const { return stat->data(index)->value(); } + Counter value() const { return stat.data(index)->value(); } /** * Return the current value of this statas a result type. * @return The current value. */ - Result result() const { return stat->data(index)->result(); } + Result result() const { return stat.data(index)->result(); } public: /** -- cgit v1.2.3