From: Nathan Binkert Date: Mon, 16 Mar 2009 22:16:58 +0000 (-0700) Subject: stats: fix compiler error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4eea8acaf2c3a7b2103f827d81c15379efde4a7c;p=gem5.git stats: fix compiler error --- 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: /**