Bläddra i källkod

Fix the LOL_DEBUG environment variable handling logic.

pull/1/head
Sam Hocevar 4 år sedan
förälder
incheckning
8ce1b6ec9c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      include/lol/private/base/msg.h

+ 2
- 2
include/lol/private/base/msg.h Visa fil

@@ -66,8 +66,8 @@ private:
#if !_DEBUG
if (type == message_type::debug)
{
static bool const disable_debug = sys::getenv("LOL_DEBUG").size() > 0;
if (disable_debug)
static bool const enforce_debug = sys::getenv("LOL_DEBUG").size() > 0;
if (!enforce_debug)
return;
}
#endif


Laddar…
Avbryt
Spara