Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal/catch_xmlwriter.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-10-02 11:45:19 +0200
committerMartin Hořeňovský2021-10-02 14:39:54 +0200
commit3e9c6fec222a5b307a712ba47dc4e930b37ad4e5 (patch)
tree1c284b8feca3d358bc0569b4aca958f6fc24ce85 /src/catch2/internal/catch_xmlwriter.cpp
parent13670f535fad8ab5db06049366a38f7a364d37d8 (diff)
downloadcatch3-3e9c6fec222a5b307a712ba47dc4e930b37ad4e5.tar.gz
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.
Diffstat (limited to 'src/catch2/internal/catch_xmlwriter.cpp')
-rw-r--r--src/catch2/internal/catch_xmlwriter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/catch2/internal/catch_xmlwriter.cpp b/src/catch2/internal/catch_xmlwriter.cpp
index 1be19bfc..3aecd04a 100644
--- a/src/catch2/internal/catch_xmlwriter.cpp
+++ b/src/catch2/internal/catch_xmlwriter.cpp
@@ -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;