Merge zizzer:/bk/m5 into zower.eecs.umich.edu:/z/hsul/bk/realclean

--HG--
extra : convert_revision : 32bbe481ee748785f0bcffb0a711017d51c987a0
This commit is contained in:
Lisa Hsu 2003-11-04 15:21:04 -05:00
commit 94edf2de3f

View file

@ -265,13 +265,20 @@ Database::check()
void void
Database::reset() Database::reset()
{ {
list<GenBin *>::iterator bi = bins.begin();
list<GenBin *>::iterator be = bins.end();
list_t::iterator i = allStats.begin(); list_t::iterator i = allStats.begin();
list_t::iterator end = allStats.end(); list_t::iterator end = allStats.end();
while (bi != be) {
(*bi)->activate();
while (i != end) { while (i != end) {
(*i)->reset(); (*i)->reset();
++i; ++i;
} }
++bi;
}
} }
void void