mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-17 18:29:19 +01:00
Fix compiling with NDEBUG flag
This commit is contained in:
parent
0c6e58cb75
commit
164ec96a04
@ -248,7 +248,7 @@ void response (char const *const fmt_, ...)
|
|||||||
void addLog (LogLevel const level_, char const *const fmt_, va_list ap_)
|
void addLog (LogLevel const level_, char const *const fmt_, va_list ap_)
|
||||||
{
|
{
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
if (level_ == DEBUG)
|
if (level_ == DEBUGLOG)
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
#ifndef NDS
|
#ifndef NDS
|
||||||
@ -278,7 +278,7 @@ void addLog (LogLevel const level_, char const *const fmt_, va_list ap_)
|
|||||||
void addLog (LogLevel const level_, std::string_view const message_)
|
void addLog (LogLevel const level_, std::string_view const message_)
|
||||||
{
|
{
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
if (level_ == DEBUG)
|
if (level_ == DEBUGLOG)
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user