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:
parent
a7394ad680
commit
1585cfb5b5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue