diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2015-07-16 19:50:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-21 14:11:53 (GMT) |
commit | dd27e31351be89bc0c28183fc347d6082bca1e36 (patch) | |
tree | b6352d9ae1db24134106c4c242dea1155b6e4254 /Source/cmXMLWriter.h | |
parent | cd992170db7a85f00d4ad38f78f0b38c33f83d1f (diff) | |
download | CMake-dd27e31351be89bc0c28183fc347d6082bca1e36.zip CMake-dd27e31351be89bc0c28183fc347d6082bca1e36.tar.gz CMake-dd27e31351be89bc0c28183fc347d6082bca1e36.tar.bz2 |
cmXMLWriter: overload Element() method for empty elements
Diffstat (limited to 'Source/cmXMLWriter.h')
-rw-r--r-- | Source/cmXMLWriter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmXMLWriter.h b/Source/cmXMLWriter.h index c38c0de..c839a62 100644 --- a/Source/cmXMLWriter.h +++ b/Source/cmXMLWriter.h @@ -41,6 +41,8 @@ public: this->Output << name << "=\"" << SafeAttribute(value) << '"'; } + void Element(const char* name); + template <typename T> void Element(std::string const& name, T const& value) { |