From 461b5ef28a2afa3e94a1d03fb2c98ae9f4423dcc Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 9 Mar 2018 15:26:00 +0200 Subject: [PATCH] Fixed missing ; --- include/spdlog/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 3ba8931d..b4e10170 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -115,7 +115,7 @@ inline spdlog::level::level_enum to_level_enum(const std::string &name) {level_names[6], level::off}}; // off auto lvl_it = name_to_level.find(name); - return lvl_it != name_to_level.end() ? lvl_it->second : level::off + return lvl_it != name_to_level.end() ? lvl_it->second : level::off; } using level_hasher = std::hash;