summaryrefslogtreecommitdiff
path: root/src/base/statistics.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-03-16 15:16:58 -0700
committerNathan Binkert <nate@binkert.org>2009-03-16 15:16:58 -0700
commit4eea8acaf2c3a7b2103f827d81c15379efde4a7c (patch)
tree8ed3d942255d12ba9596dc33da5f8004529963de /src/base/statistics.hh
parent15f0e44060ffcf1ab6648469678cefa9081a68a1 (diff)
downloadgem5-4eea8acaf2c3a7b2103f827d81c15379efde4a7c.tar.xz
stats: fix compiler error
Diffstat (limited to 'src/base/statistics.hh')
-rw-r--r--src/base/statistics.hh4
1 files changed, 2 insertions, 2 deletions
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:
/**