mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 15:41:36 +02:00
Fix: indentation of array elements in toString().
This commit is contained in:
parent
623dfe7606
commit
0a68bbfbea
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user