diff options
Diffstat (limited to 'src/base/stats/statdb.cc')
-rw-r--r-- | src/base/stats/statdb.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/stats/statdb.cc b/src/base/stats/statdb.cc index f9136807a..c54dbb8ec 100644 --- a/src/base/stats/statdb.cc +++ b/src/base/stats/statdb.cc @@ -73,7 +73,8 @@ regPrint(void *stat) data->flags |= print; } -TheDatabase &db() +TheDatabase & +db() { static TheDatabase db; return db; |