mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-29 08:37:36 -04:00
Implement ostream operator<< for RsSerializable
So it is not necessary to define it for each class we want to print in debug
This commit is contained in:
parent
e449ffba04
commit
f84824271f
4 changed files with 39 additions and 2 deletions
|
@ -39,7 +39,7 @@ typedef rapidjson::Document RsJson;
|
|||
* @param[in] jDoc JSON document to print
|
||||
* @return same output stream passed as out parameter
|
||||
*/
|
||||
std::ostream &operator<<(std::ostream &out, const RsJson &jDoc);
|
||||
std::ostream& operator<<(std::ostream &out, const RsJson &jDoc);
|
||||
|
||||
/**
|
||||
* Stream manipulator to print RsJson in compact format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue