diff options
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r-- | src/Stats.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx index a9b8619fe..b8773d6f0 100644 --- a/src/Stats.cxx +++ b/src/Stats.cxx @@ -124,7 +124,7 @@ stats_print(Response &r, const Partition &partition) std::lround(partition.pc.GetTotalPlayTime().count())); #ifdef ENABLE_DATABASE - const Database *db = partition.instance.database; + const Database *db = partition.instance.GetDatabase(); if (db != nullptr) db_stats_print(r, *db); #endif |