changeset 4df1c7698e52 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=4df1c7698e52
description:
        stats: fix compiler error

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/base/statistics.hh |    4 ++--

diffs (19 lines):

diff -r 77bf0b8db2c5 -r 4df1c7698e52 src/base/statistics.hh
--- a/src/base/statistics.hh    Mon Mar 16 11:01:23 2009 -0400
+++ b/src/base/statistics.hh    Mon Mar 16 15:16:58 2009 -0700
@@ -961,13 +961,13 @@
      * 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:
     /**
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to