stats: Fix small bug pointed out by unit testing.
This commit is contained in:
parent
0a1613abe1
commit
67a2918abc
|
@ -1009,8 +1009,7 @@ class ScalarProxy
|
|||
std::string
|
||||
str() const
|
||||
{
|
||||
return csprintf("%s[%d]", stat->str(), index);
|
||||
|
||||
return csprintf("%s[%d]", stat->statData()->name, index);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue