Skip to content

Commit a2513f7

Browse files
committed
Style
1 parent 527aa9b commit a2513f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/tao/json/internal/action.hh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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' ) {

0 commit comments

Comments
 (0)