From 1585cfb5b5df37f92c0ed053f951019966a6a05a Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 16 Jan 2012 19:00:59 -0800 Subject: [PATCH] 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. --- src/base/debug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } };