Replaced explicit typ

This commit is contained in:
Uwe Seimet 2021-08-05 13:03:14 +02:00
parent 505751e64a
commit 4106c15d6f

View File

@ -434,7 +434,7 @@ bool ReturnStatus(int fd, bool status = true, const string msg = "") {
} }
bool SetLogLevel(const string& log_level) { bool SetLogLevel(const string& log_level) {
map<string, level::level_enum>::iterator it = available_log_levels.find(log_level); auto it = available_log_levels.find(log_level);
if (it == available_log_levels.end()) { if (it == available_log_levels.end()) {
return false; return false;
} }