projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f0e44
)
stats: fix compiler error
author
Nathan Binkert
<nate@binkert.org>
Mon, 16 Mar 2009 22:16:58 +0000
(15:16 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Mon, 16 Mar 2009 22:16:58 +0000
(15:16 -0700)
src/base/statistics.hh
patch
|
blob
|
history
diff --git
a/src/base/statistics.hh
b/src/base/statistics.hh
index 06c15a77d6f2209c19751dad7a1527742eecbc37..88704207df27c194f262771417f1c2d88d392491 100644
(file)
--- 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:
/**