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.
This commit is contained in:
Steve Reinhardt 2012-01-16 19:00:59 -08:00
parent a7394ad680
commit 1585cfb5b5

View file

@ -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();
}
};