mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 21:50:47 +01:00
Fix: indentation of array elements in toString().
This commit is contained in:
@@ -59,7 +59,7 @@ std::string Array::toString(int indent) const
|
|||||||
|
|
||||||
for(int i = 0; i < indent; ++i) oss << ' ';
|
for(int i = 0; i < indent; ++i) oss << ' ';
|
||||||
|
|
||||||
oss << (*it)->toString();
|
oss << (*it)->toString(indent > 0 ? indent + 2 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( indent > 0 )
|
if ( indent > 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user