mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
clang-tidy: fix modernize-raw-string-literal lints
This commit is contained in:
@@ -186,7 +186,7 @@ std::string cmGlobalVisualStudioGenerator::GetRegistryBase()
|
||||
|
||||
std::string cmGlobalVisualStudioGenerator::GetRegistryBase(const char* version)
|
||||
{
|
||||
std::string key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\";
|
||||
std::string key = R"(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\)";
|
||||
return key + version;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user