File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 158
158
// libc++ supports string_view in pre-c++17.
159
159
#if (FMT_HAS_INCLUDE(<string_view>) && \
160
160
(__cplusplus > 201402L || _LIBCPP_VERSION)) || \
161
- (defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910 )
161
+ (defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910 )
162
162
# include < string_view>
163
163
# define FMT_USE_STD_STRING_VIEW
164
164
#elif (FMT_HAS_INCLUDE(<experimental/string_view>) && \
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ FMT_FUNC fp operator*(fp x, fp y) {
337
337
uint64_t ac = a * c, bc = b * c, ad = a * d, bd = b * d;
338
338
// Compute mid 64-bit of result and round.
339
339
uint64_t mid = (bd >> 32 ) + (ad & mask) + (bc & mask) + (1U << 31 );
340
- return fp (ac + (ad >> 32 ) + (bc >> 32 ) + (mid >> 32 ), x.e + y.e + 64 );
340
+ return fp (ac + (ad >> 32 ) + (bc >> 32 ) + (mid >> 32 ), x.e + y.e + 64 );
341
341
}
342
342
} // namespace internal
343
343
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ struct fp {
255
255
// Returns an fp number representing x - y. Result may not be normalized.
256
256
inline fp operator -(fp x, fp y) {
257
257
FMT_ASSERT (x.f >= y.f && x.e == y.e , " invalid operands" );
258
- return fp (x.f - y.f , x.e );
258
+ return fp (x.f - y.f , x.e );
259
259
}
260
260
261
261
// Computes an fp number r with r.f = x.f * y.f / pow(2, 32) rounded to nearest
@@ -1594,7 +1594,7 @@ class width_checker: public function<unsigned long long> {
1594
1594
explicit FMT_CONSTEXPR width_checker (ErrorHandler &eh) : handler_(eh) {}
1595
1595
1596
1596
template <typename T>
1597
- FMT_CONSTEXPR
1597
+ FMT_CONSTEXPR
1598
1598
typename std::enable_if<
1599
1599
is_integer<T>::value, unsigned long long >::type operator ()(T value) {
1600
1600
if (is_negative (value))
You can’t perform that action at this time.
0 commit comments