Sfoglia il codice sorgente

Fix the LOL_DEBUG environment variable handling logic.

pull/1/head
Sam Hocevar 4 anni fa
parent
commit
8ce1b6ec9c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      include/lol/private/base/msg.h

+ 2
- 2
include/lol/private/base/msg.h Vedi File

@@ -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


Caricamento…
Annulla
Salva