diff options
author | jackpoz <giacomopoz@gmail.com> | 2017-02-18 17:22:57 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-08-17 20:04:14 +0200 |
commit | 9780d23f4768a89b851a66a37adde291a8d8c3f6 (patch) | |
tree | c065be2726586a2d6f5890768d8c3e912a855794 /src/common/Logging/Log.cpp | |
parent | e050a7444e4812e8034108d2cf1e0c1ef16797bc (diff) |
Core/Misc: Fix static analysis issues
(cherrypicked from b375bab22592daaaa1fc387c4f6a1fb9564cbcc6)
Diffstat (limited to 'src/common/Logging/Log.cpp')
-rw-r--r-- | src/common/Logging/Log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |