From 7542e42e4fe49deef2c366cc875921d680528abf Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 27 Sep 2020 01:05:55 +0300 Subject: [PATCH] removed extra parentheses --- include/spdlog/details/registry-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/registry-inl.h b/include/spdlog/details/registry-inl.h index 30acb226..c39fb46f 100644 --- a/include/spdlog/details/registry-inl.h +++ b/include/spdlog/details/registry-inl.h @@ -69,7 +69,7 @@ SPDLOG_INLINE bool registry::set_level_from_cfg_(logger *logger) if (cfg_level_it == cfg_levels_.end()) { // 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()) {