Skip to content

Commit abdca8e

Browse files
committed
fix
Signed-off-by: lizz <lizz@sensetime.com>
1 parent ded7d84 commit abdca8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ void BuiltStyledStreamWriter::writeValue(Value const& value) {
991991
writeWithIndent(valueToQuotedStringN(
992992
name.data(), static_cast<unsigned>(name.length()), emitUTF8_));
993993
if ((childValue.type() == objectValue &&
994-
!value.getMemberNames().empty()) ||
994+
!childValue.getMemberNames().empty()) ||
995995
(childValue.type() == arrayValue && childValue.size() > 0 &&
996996
((cs_ == CommentStyle::All) || isMultilineArray(childValue))))
997997
*sout_ << colonSymbolNoTrailingSpace_;

0 commit comments

Comments
 (0)