debug: fix help output

This commit is contained in:
Nathan Binkert
2011-05-04 10:08:08 -04:00
parent 8ce85d3db6
commit 0dffd35741
3 changed files with 30 additions and 18 deletions

View File

@@ -101,14 +101,14 @@ void
CompoundFlag::enable()
{
SimpleFlag::enable();
for_each(flags.begin(), flags.end(), mem_fun(&Flag::enable));
for_each(_kids.begin(), _kids.end(), mem_fun(&Flag::enable));
}
void
CompoundFlag::disable()
{
SimpleFlag::disable();
for_each(flags.begin(), flags.end(), mem_fun(&Flag::disable));
for_each(_kids.begin(), _kids.end(), mem_fun(&Flag::disable));
}
struct AllFlags : public Flag