aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/Log.h
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2017-02-18 17:22:57 +0100
committerjackpoz <giacomopoz@gmail.com>2017-02-25 13:33:51 +0100
commitb375bab22592daaaa1fc387c4f6a1fb9564cbcc6 (patch)
tree41e86712793cc44db541891aab42717779d16bb6 /src/common/Logging/Log.h
parentd5ccd1717596f7914a8783c1f15b97b614975650 (diff)
Core/Misc: Fix static analysis issues
Diffstat (limited to 'src/common/Logging/Log.h')
-rw-r--r--src/common/Logging/Log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Logging/Log.h b/src/common/Logging/Log.h
index a4e0cb6a5dc..189971561fc 100644
--- a/src/common/Logging/Log.h
+++ b/src/common/Logging/Log.h
@@ -126,7 +126,7 @@ inline 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);