From 4106c15d6f391b840d109d4284a5c8854c42af21 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Thu, 5 Aug 2021 13:03:14 +0200 Subject: [PATCH] Replaced explicit typ --- src/raspberrypi/rascsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raspberrypi/rascsi.cpp b/src/raspberrypi/rascsi.cpp index 25944d0b..40011af5 100644 --- a/src/raspberrypi/rascsi.cpp +++ b/src/raspberrypi/rascsi.cpp @@ -434,7 +434,7 @@ bool ReturnStatus(int fd, bool status = true, const string msg = "") { } bool SetLogLevel(const string& log_level) { - map::iterator it = available_log_levels.find(log_level); + auto it = available_log_levels.find(log_level); if (it == available_log_levels.end()) { return false; }