clang-tidy: fix modernize-raw-string-literal lints

This commit is contained in:
Ben Boeckel
2022-11-22 14:42:31 -05:00
parent d64adb9267
commit 362d6cd234
9 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -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;
}