summaryrefslogtreecommitdiff
path: root/src/base/stats/statdb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/stats/statdb.cc')
-rw-r--r--src/base/stats/statdb.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/stats/statdb.cc b/src/base/stats/statdb.cc
index c54dbb8ec..8ead17c52 100644
--- a/src/base/stats/statdb.cc
+++ b/src/base/stats/statdb.cc
@@ -38,7 +38,7 @@ using namespace std;
namespace Stats {
namespace Database {
-StatData *
+Info *
find(void *stat)
{
stat_map_t::const_iterator i = map().find(stat);
@@ -50,7 +50,7 @@ find(void *stat)
}
void
-regStat(void *stat, StatData *data)
+regStat(void *stat, Info *data)
{
if (map().find(stat) != map().end())
panic("shouldn't register stat twice!");
@@ -68,7 +68,7 @@ regStat(void *stat, StatData *data)
void
regPrint(void *stat)
{
- StatData *data = find(stat);
+ Info *data = find(stat);
assert(data);
data->flags |= print;
}