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