forked from catchorg/Catch2
Remove XmlWriter::writeBlankLine
There is no good reason to provide a "add empty line" primitive for writing XML documents, and the fact that it remains unused after all the time it was provided only confirms this further.
This commit is contained in:
@@ -322,12 +322,6 @@ namespace {
|
||||
m_os << R"(<?xml-stylesheet type="text/xsl" href=")" << url << R"("?>)" << '\n';
|
||||
}
|
||||
|
||||
XmlWriter& XmlWriter::writeBlankLine() {
|
||||
ensureTagClosed();
|
||||
m_os << '\n';
|
||||
return *this;
|
||||
}
|
||||
|
||||
void XmlWriter::ensureTagClosed() {
|
||||
if( m_tagIsOpen ) {
|
||||
m_os << '>' << std::flush;
|
||||
|
||||
Reference in New Issue
Block a user