mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 14:50:15 -05:00
Fix minor clang-tidy findings
Fix issues diagnosed by clang-tidy - modernize-use-bool-literals - misc-string-integer-assignment - performance-faster-string-find - readability-redundant-string-cstr - readability-delete-null-pointer Signed-off-by: Matthias Maennich <matthias@maennich.net>
This commit is contained in:
committed by
Brad King
parent
79b8c3802a
commit
2033abff0d
@@ -260,7 +260,7 @@ void cmFindLibraryHelper::RegexFromLiteral(std::string& out,
|
||||
out += "\\";
|
||||
}
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
out += tolower(ch);
|
||||
out += static_cast<char>(tolower(ch));
|
||||
#else
|
||||
out += ch;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user