Make indentation work in toString

This commit is contained in:
fbraem
2013-02-17 18:41:36 +01:00
parent b19401af37
commit 13380b5eb9
3 changed files with 46 additions and 12 deletions

View File

@@ -72,7 +72,7 @@ struct ElementTraits<Array::Ptr>
static std::string toString(const Array::Ptr& value, int indent = 0)
{
//TODO:
return value.isNull() ? "null" : value->toString();
return value.isNull() ? "null" : value->toString(indent);
}
};