summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index ba25058..b6a1dd8 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -2647,6 +2647,13 @@ namespace pugi
node_output(buffered_writer, *this, indent, flags, depth);
}
+ void xml_node::print(std::ostream& stream, const char* indent, unsigned int flags, unsigned int depth)
+ {
+ xml_writer_stream writer(stream);
+
+ print(writer, indent, flags, depth);
+ }
+
int xml_node::offset_debug() const
{
xml_node_struct* r = root()._root;