Skip to content

Commit c82c4cd

Browse files
authored
Update main.cpp
1 parent 559a729 commit c82c4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test_lib_json/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Json::String ValueTest::normalizeFloatingPointStr(const Json::String& s) {
124124
auto index = s.find_last_of("eE");
125125
if (index == s.npos)
126126
return s;
127-
std::size_t signWidth = (s[index + 1] == '+' || s[index + 1] == '-' ) ? 1 : 0;
127+
std::size_t signWidth = (s[index + 1] == '+' || s[index + 1] == '-') ? 1 : 0;
128128
auto exponentStartIndex = index + 1 + signWidth;
129129
Json::String normalized = s.substr(0, exponentStartIndex);
130130
auto indexDigit = s.find_first_not_of('0', exponentStartIndex);

0 commit comments

Comments
 (0)