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;
|
||||
|
@ -129,8 +129,6 @@ namespace Catch {
|
||||
|
||||
void writeStylesheetRef( StringRef url );
|
||||
|
||||
XmlWriter& writeBlankLine();
|
||||
|
||||
void ensureTagClosed();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user