From: <vac...@us...> - 2008-11-16 00:16:43
|
Revision: 86 http://xmlwrapp.svn.sourceforge.net/xmlwrapp/?rev=86&view=rev Author: vaclavslavik Date: 2008-11-16 00:16:37 +0000 (Sun, 16 Nov 2008) Log Message: ----------- fix compilation with gcc 4.2+ (patch #1748887 by Tiziano Mueller) Modified Paths: -------------- trunk/src/libxml/node.cxx Modified: trunk/src/libxml/node.cxx =================================================================== --- trunk/src/libxml/node.cxx 2008-11-16 00:11:10 UTC (rev 85) +++ trunk/src/libxml/node.cxx 2008-11-16 00:16:37 UTC (rev 86) @@ -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; + } } //#################################################################### This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |