summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXMLWriter.cxx')
-rw-r--r--Source/cmXMLWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXMLWriter.cxx b/Source/cmXMLWriter.cxx
index 9d2a3c4..f1ce608 100644
--- a/Source/cmXMLWriter.cxx
+++ b/Source/cmXMLWriter.cxx
@@ -23,7 +23,7 @@ cmXMLWriter::~cmXMLWriter()
void cmXMLWriter::StartDocument(const char* encoding)
{
- this->Output << "<?xml version=\"1.0\" encoding=\"" << encoding << "\"?>";
+ this->Output << R"(<?xml version="1.0" encoding=")" << encoding << "\"?>";
}
void cmXMLWriter::EndDocument()