Skip to content

Commit

Permalink
Take XmlRpcValue by *const* ref. in operator<<
Browse files Browse the repository at this point in the history
This allows to use the operator<< also with const references to
XmlRpcValue objects, not only non-const ones.
  • Loading branch information
efernandez committed Mar 15, 2018
1 parent 94aaaec commit 506d7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/xmlrpcpp/include/xmlrpcpp/XmlRpcValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ namespace XmlRpc {
} // namespace XmlRpc


std::ostream& operator<<(std::ostream& os, XmlRpc::XmlRpcValue& v);
std::ostream& operator<<(std::ostream& os, const XmlRpc::XmlRpcValue& v);


#endif // _XMLRPCVALUE_H_

0 comments on commit 506d7a5

Please sign in to comment.