From 9780d23f4768a89b851a66a37adde291a8d8c3f6 Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sat, 18 Feb 2017 17:22:57 +0100 Subject: Core/Misc: Fix static analysis issues (cherrypicked from b375bab22592daaaa1fc387c4f6a1fb9564cbcc6) --- src/common/Logging/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Logging/Log.cpp') diff --git a/src/common/Logging/Log.cpp b/src/common/Logging/Log.cpp index fcf4ddf7271..28238c9eec3 100644 --- a/src/common/Logging/Log.cpp +++ b/src/common/Logging/Log.cpp @@ -247,7 +247,7 @@ Logger const* Log::GetLoggerByType(std::string const& type) const return NULL; std::string parentLogger = LOGGER_ROOT; - size_t found = type.find_last_of("."); + size_t found = type.find_last_of('.'); if (found != std::string::npos) parentLogger = type.substr(0, found); -- cgit v1.2.3