File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -542,8 +542,8 @@ bool Reader::readArray(Token& token) {
542
542
while (currentToken.type_ == tokenComment && ok) {
543
543
ok = readToken (currentToken);
544
544
}
545
- bool badTokenType =
546
- (currentToken. type_ != tokenArraySeparator && currentToken.type_ != tokenArrayEnd);
545
+ bool badTokenType = (currentToken. type_ != tokenArraySeparator &&
546
+ currentToken.type_ != tokenArrayEnd);
547
547
if (!ok || badTokenType) {
548
548
return addErrorAndRecover (" Missing ',' or ']' in array declaration" ,
549
549
currentToken, tokenArrayEnd);
@@ -1538,8 +1538,8 @@ bool OurReader::readArray(Token& token) {
1538
1538
while (currentToken.type_ == tokenComment && ok) {
1539
1539
ok = readToken (currentToken);
1540
1540
}
1541
- bool badTokenType =
1542
- (currentToken. type_ != tokenArraySeparator && token.type_ != tokenArrayEnd);
1541
+ bool badTokenType = (currentToken. type_ != tokenArraySeparator &&
1542
+ token.type_ != tokenArrayEnd);
1543
1543
if (!ok || badTokenType) {
1544
1544
return addErrorAndRecover (" Missing ',' or ']' in array declaration" ,
1545
1545
currentToken, tokenArrayEnd);
Original file line number Diff line number Diff line change @@ -420,8 +420,8 @@ Value::Value(const char* value) {
420
420
421
421
Value::Value (const char * begin, const char * end) {
422
422
initBasic (stringValue, true );
423
- value_.string_ = duplicateAndPrefixStringValue (
424
- begin, static_cast <unsigned >(end - begin));
423
+ value_.string_ =
424
+ duplicateAndPrefixStringValue ( begin, static_cast <unsigned >(end - begin));
425
425
}
426
426
427
427
Value::Value (const JSONCPP_STRING& value) {
You can’t perform that action at this time.
0 commit comments