Browse Source

Update Log.h

cl-refactor
gluk256 10 years ago
parent
commit
e4cd2fee17
  1. 2
      libdevcore/Log.h

2
libdevcore/Log.h

@ -62,7 +62,7 @@ extern std::map<std::type_info const*, bool> g_logOverride;
/// Temporary changes system's verbosity for specific function. Restores the old verbosity when function returns.
struct VerbosityHolder
{
VerbosityHolder(int _temporaryValue) : oldLogVerbosity(g_logVerbosity) { g_logVerbosity = _temporaryValue; }
VerbosityHolder(int _temporaryValue): oldLogVerbosity(g_logVerbosity) { g_logVerbosity = _temporaryValue; }
~VerbosityHolder() { g_logVerbosity = oldLogVerbosity; }
int oldLogVerbosity;
};

Loading…
Cancel
Save