Skip to content

Commit 95be091

Browse files
committed
apply clang-format
1 parent bd4f4ac commit 95be091

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib_json/json_writer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ String valueToString(double value, bool useSpecialFloats,
6969
if (!std::isfinite(value)) {
7070
static const char* const reps[2][3] = {{"NaN", "-Infinity", "Infinity"},
7171
{"null", "-1e+9999", "1e+9999"}};
72-
return reps[useSpecialFloats ? 0 : 1][std::isnan(value) ? 0
73-
: (value < 0) ? 1
74-
: 2];
72+
return reps[useSpecialFloats ? 0 : 1][std::isnan(value) ? 0
73+
: (value < 0) ? 1
74+
: 2];
7575
}
7676

7777
String buffer(size_t(36), '\0');

0 commit comments

Comments
 (0)