diff options
Diffstat (limited to 'Source/Core/Common/Logging/LogManager.cpp')
| -rw-r--r-- | Source/Core/Common/Logging/LogManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp index 64f1786975..a7b0b010ea 100644 --- a/Source/Core/Common/Logging/LogManager.cpp +++ b/Source/Core/Common/Logging/LogManager.cpp @@ -101,8 +101,7 @@ static size_t DeterminePathCutOffPoint() constexpr const char* pattern2 = "\\source\\core\\"; #endif std::string path = __FILE__; - std::transform(path.begin(), path.end(), path.begin(), - [](char c) { return std::tolower(c, std::locale::classic()); }); + Common::ToLower(&path); size_t pos = path.find(pattern); #ifdef _WIN32 if (pos == std::string::npos) |
