stats: fix compiler error

This commit is contained in:
Nathan Binkert 2009-03-16 15:16:58 -07:00
parent 15f0e44060
commit 4eea8acaf2

View file

@ -961,13 +961,13 @@ class ScalarProxy
* Return the current value of this stat as its base type. * Return the current value of this stat as its base type.
* @return The current value. * @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 of this statas a result type.
* @return The current value. * @return The current value.
*/ */
Result result() const { return stat->data(index)->result(); } Result result() const { return stat.data(index)->result(); }
public: public:
/** /**