fix a number of implicit conversions
This commit is contained in:
@@ -114,7 +114,7 @@ SimpleLogger::~SimpleLogger()
|
||||
std::lock_guard<std::mutex> lock(get_mutex());
|
||||
if (!LogPolicy::GetInstance().IsMute())
|
||||
{
|
||||
const bool is_terminal = isatty(fileno(stdout));
|
||||
const bool is_terminal = static_cast<bool>(isatty(fileno(stdout)));
|
||||
switch (level)
|
||||
{
|
||||
case logWARNING:
|
||||
|
||||
Reference in New Issue
Block a user