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

This commit is contained in:
Ben Boeckel 2023-07-27 18:22:28 -04:00
parent ffa49c23aa
commit 7eaab9a957
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ void cmWIXFeaturesSourceWriter::CreateCMakePackageRegistryEntry(
AddAttribute("Guid", CreateGuidFromComponentId("CM_PACKAGE_REGISTRY"));
std::string registryKey =
cmStrCat("Software\\Kitware\\CMake\\Packages\\", package);
cmStrCat(R"(Software\Kitware\CMake\Packages\)", package);
BeginElement("RegistryValue");
AddAttribute("Root", "HKLM");

View File

@ -144,7 +144,7 @@ std::string cmWIXSourceWriter::CreateGuidFromComponentId(
void cmWIXSourceWriter::WriteXMLDeclaration()
{
File << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
File << R"(<?xml version="1.0" encoding="UTF-8"?>)" << std::endl;
}
void cmWIXSourceWriter::Indent(size_t count)