diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2012-01-16 19:00:59 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2012-01-16 19:00:59 -0800 |
commit | 1585cfb5b5df37f92c0ed053f951019966a6a05a (patch) | |
tree | 991d25beaf14d0f1ff720a1d6e292a324e5f17e4 | |
parent | a7394ad6807bd5e85f680184bf308673ca00534a (diff) | |
download | gem5-1585cfb5b5df37f92c0ed053f951019966a6a05a.tar.xz |
debug: fix AllFlags::disable()
Looks like copy-and-paste bug, apparently I'm the first
person to ever use this since it's plainly broken.
-rw-r--r-- | src/base/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/debug.cc b/src/base/debug.cc index 71675aada..ba154f377 100644 --- a/src/base/debug.cc +++ b/src/base/debug.cc @@ -134,7 +134,7 @@ struct AllFlags : public Flag FlagsMap::iterator end = allFlags().end(); for (; i != end; ++i) if (i->second != this) - i->second->enable(); + i->second->disable(); } }; |