@ -72,7 +72,7 @@ public:
}
}
char * ptr = fs - > bufferPtr ( ) ;
char * ptr = fs - > bufferPtr ( ) ;
if ( ptr > fs - > bufferStart ( ) + current_struct . indent & & ! FileNode : : FileNode : : isEmptyCollection ( struct_flags ) )
if ( ptr > fs - > bufferStart ( ) + current_struct . indent & & ! FileNode : : isEmptyCollection ( struct_flags ) )
* ptr + + = ' ' ;
* ptr + + = ' ' ;
* ptr + + = FileNode : : isMap ( struct_flags ) ? ' } ' : ' ] ' ;
* ptr + + = FileNode : : isMap ( struct_flags ) ? ' } ' : ' ] ' ;
fs - > setBufferPtr ( ptr ) ;
fs - > setBufferPtr ( ptr ) ;
@ -171,7 +171,7 @@ public:
{
{
int new_offset ;
int new_offset ;
ptr = fs - > bufferPtr ( ) ;
ptr = fs - > bufferPtr ( ) ;
if ( ! FileNode : : FileNode : : isEmptyCollection ( struct_flags ) )
if ( ! FileNode : : isEmptyCollection ( struct_flags ) )
* ptr + + = ' , ' ;
* ptr + + = ' , ' ;
new_offset = static_cast < int > ( ptr - fs - > bufferStart ( ) + key_len + data_len ) ;
new_offset = static_cast < int > ( ptr - fs - > bufferStart ( ) + key_len + data_len ) ;
if ( new_offset > fs - > wrapMargin ( ) & & new_offset - current_struct . indent > 10 )
if ( new_offset > fs - > wrapMargin ( ) & & new_offset - current_struct . indent > 10 )
@ -184,7 +184,7 @@ public:
}
}
else
else
{
{
if ( ! FileNode : : FileNode : : isEmptyCollection ( struct_flags ) )
if ( ! FileNode : : isEmptyCollection ( struct_flags ) )
{
{
ptr = fs - > bufferPtr ( ) ;
ptr = fs - > bufferPtr ( ) ;
* ptr + + = ' , ' ;
* ptr + + = ' , ' ;