mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Move JsonNode operator<< to right plase
This commit is contained in:
@@ -27,6 +27,13 @@ class CModHandler;
|
||||
|
||||
static const JsonNode nullNode;
|
||||
|
||||
|
||||
std::ostream & operator<<(std::ostream &out, const JsonNode &node)
|
||||
{
|
||||
JsonWriter writer(out, node);
|
||||
return out << "\n";
|
||||
}
|
||||
|
||||
JsonNode::JsonNode(JsonType Type):
|
||||
type(DATA_NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user