From 74aaf2401c015baa4eeedf0dc0ed741fac20e41a Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 12 Nov 2003 14:59:58 -0500 Subject: [PATCH] in the case where we don't have any bins, we don't want to panic --HG-- extra : convert_revision : e9056ca020d0f3db388b31a074b03e4d521f8705 --- base/statistics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/statistics.cc b/base/statistics.cc index 69b663dbb..706d14ffb 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -272,7 +272,7 @@ Database::reset() ++i; } - MainBin *orig = MainBin::current(); + MainBin *orig = MainBin::curBin(); list::iterator bi = bins.begin(); list::iterator be = bins.end(); -- 2.30.2