Use StringRef instead of std::string in XmlWriter::ScopedElement
This commit is contained in:
2 files changed
+8
-3
No files matched your search
@@ -211,7 +211,8 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
XmlWriter::ScopedElement& XmlWriter::ScopedElement::writeText( std::string const& text, XmlFormatting fmt ) {
|
||||
XmlWriter::ScopedElement&
|
||||
XmlWriter::ScopedElement::writeText( StringRef text, XmlFormatting fmt ) {
|
||||
m_writer->writeText( text, fmt );
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user