File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
include/tao/json/internal Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ namespace tao
138138 }
139139 const auto c = std::min ( in.size (), max_mantissa_digits );
140140 std::memcpy ( result.mantissa , in.begin (), c );
141- result.exponent10 += static_cast <number_state::exponent10_t >( in.size () - c);
142- result.msize = static_cast <number_state::msize_t >(c );
141+ result.exponent10 += static_cast < number_state::exponent10_t >( in.size () - c );
142+ result.msize = static_cast < number_state::msize_t >( c );
143143
144144 for ( std::size_t i = c; i < in.size (); ++i ) {
145145 if ( in.peek_char ( i ) != ' 0' ) {
@@ -171,8 +171,8 @@ namespace tao
171171 }
172172 const auto c = std::min ( std::size_t ( e - b ), max_mantissa_digits - result.msize );
173173 std::memcpy ( result.mantissa + result.msize , b, c );
174- result.exponent10 -= static_cast <number_state::exponent10_t >(c );
175- result.msize += static_cast <number_state::msize_t >(c );
174+ result.exponent10 -= static_cast < number_state::exponent10_t >( c );
175+ result.msize += static_cast < number_state::msize_t >( c );
176176
177177 for ( const auto * r = b + c; r < e; ++r ) {
178178 if ( *r != ' 0' ) {
You can’t perform that action at this time.
0 commit comments