blob: 6b61bcb606415dd69dcf6462c368dcef22294c2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- xmlwrapp-0.5.0/src/libxml/node.cxx.orig 2007-07-06 08:13:31.000000000 +0200
+++ xmlwrapp-0.5.0/src/libxml/node.cxx 2007-07-06 08:13:05.000000000 +0200
@@ -512,10 +512,12 @@
}
}
//####################################################################
-std::ostream& xml::operator<< (std::ostream &stream, const xml::node &n) {
- std::string xmldata;
- n.node_to_string(xmldata);
- stream << xmldata;
- return stream;
+namespace xml {
+ std::ostream& operator<< (std::ostream &stream, const xml::node &n) {
+ std::string xmldata;
+ n.node_to_string(xmldata);
+ stream << xmldata;
+ return stream;
+ }
}
//####################################################################
|