File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -217,28 +217,28 @@ void FastWriter::writeValue(const Value& value) {
217
217
document_ += valueToString (value.asBool ());
218
218
break ;
219
219
case arrayValue: {
220
- document_ += " [ " ;
220
+ document_ += ' [ ' ;
221
221
int size = value.size ();
222
222
for (int index = 0 ; index < size; ++index ) {
223
223
if (index > 0 )
224
- document_ += " , " ;
224
+ document_ += ' , ' ;
225
225
writeValue (value[index ]);
226
226
}
227
- document_ += " ] " ;
227
+ document_ += ' ] ' ;
228
228
} break ;
229
229
case objectValue: {
230
230
Value::Members members (value.getMemberNames ());
231
- document_ += " { " ;
231
+ document_ += ' { ' ;
232
232
for (Value::Members::iterator it = members.begin (); it != members.end ();
233
233
++it) {
234
234
const std::string& name = *it;
235
235
if (it != members.begin ())
236
- document_ += " , " ;
236
+ document_ += ' , ' ;
237
237
document_ += valueToQuotedString (name.c_str ());
238
238
document_ += yamlCompatiblityEnabled_ ? " : " : " :" ;
239
239
writeValue (value[name]);
240
240
}
241
- document_ += " } " ;
241
+ document_ += ' } ' ;
242
242
} break ;
243
243
}
244
244
}
@@ -302,7 +302,7 @@ void StyledWriter::writeValue(const Value& value) {
302
302
writeCommentAfterValueOnSameLine (childValue);
303
303
break ;
304
304
}
305
- document_ += " , " ;
305
+ document_ += ' , ' ;
306
306
writeCommentAfterValueOnSameLine (childValue);
307
307
}
308
308
unindent ();
@@ -336,7 +336,7 @@ void StyledWriter::writeArrayValue(const Value& value) {
336
336
writeCommentAfterValueOnSameLine (childValue);
337
337
break ;
338
338
}
339
- document_ += " , " ;
339
+ document_ += ' , ' ;
340
340
writeCommentAfterValueOnSameLine (childValue);
341
341
}
342
342
unindent ();
You can’t perform that action at this time.
0 commit comments