diff --git a/utilities/xmlrpcpp/include/xmlrpcpp/XmlRpcValue.h b/utilities/xmlrpcpp/include/xmlrpcpp/XmlRpcValue.h index 50d3c478e8..0d72c59cf9 100644 --- a/utilities/xmlrpcpp/include/xmlrpcpp/XmlRpcValue.h +++ b/utilities/xmlrpcpp/include/xmlrpcpp/XmlRpcValue.h @@ -189,7 +189,7 @@ namespace XmlRpc { } // namespace XmlRpc -std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v); +std::ostream& operator<<(std::ostream& os, XmlRpc::XmlRpcValue& v); #endif // _XMLRPCVALUE_H_ diff --git a/utilities/xmlrpcpp/src/XmlRpcValue.cpp b/utilities/xmlrpcpp/src/XmlRpcValue.cpp index 029337a87d..d4eb54d4aa 100644 --- a/utilities/xmlrpcpp/src/XmlRpcValue.cpp +++ b/utilities/xmlrpcpp/src/XmlRpcValue.cpp @@ -653,10 +653,10 @@ namespace XmlRpc { // ostream -std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v) -{ +std::ostream& operator<<(std::ostream& os, XmlRpc::XmlRpcValue& v) +{ // If you want to output in xml format: - //return os << v.toXml(); + //return os << v.toXml(); return v.write(os); }