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:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user