removed extra parentheses

This commit is contained in:
gabime 2020-09-27 01:05:55 +03:00
parent 7a9b23e4f4
commit 7542e42e4f

View File

@ -69,7 +69,7 @@ SPDLOG_INLINE bool registry::set_level_from_cfg_(logger *logger)
if (cfg_level_it == cfg_levels_.end()) if (cfg_level_it == cfg_levels_.end())
{ {
// if logger name not found, set it anyway if "*" exists (i.e. all loggers) // if logger name not found, set it anyway if "*" exists (i.e. all loggers)
cfg_level_it = cfg_levels_.find(("*")); cfg_level_it = cfg_levels_.find("*");
} }
if (cfg_level_it != cfg_levels_.end()) if (cfg_level_it != cfg_levels_.end())
{ {