Skip to content

Commit 6cd6661

Browse files
DanielaEvitaut
authored andcommitted
remove trailing spaces.
Signed-off-by: Daniela Engert <dani@ngrt.de>
1 parent fe19c26 commit 6cd6661

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

include/fmt/core.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
// libc++ supports string_view in pre-c++17.
159159
#if (FMT_HAS_INCLUDE(<string_view>) && \
160160
(__cplusplus > 201402L || _LIBCPP_VERSION)) || \
161-
(defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910)
161+
(defined(_MSVC_LANG) && _MSVC_LANG > 201402L && _MSC_VER >= 1910)
162162
# include <string_view>
163163
# define FMT_USE_STD_STRING_VIEW
164164
#elif (FMT_HAS_INCLUDE(<experimental/string_view>) && \

include/fmt/format-inl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ FMT_FUNC fp operator*(fp x, fp y) {
337337
uint64_t ac = a * c, bc = b * c, ad = a * d, bd = b * d;
338338
// Compute mid 64-bit of result and round.
339339
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);
341341
}
342342
} // namespace internal
343343

include/fmt/format.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ struct fp {
255255
// Returns an fp number representing x - y. Result may not be normalized.
256256
inline fp operator-(fp x, fp y) {
257257
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);
259259
}
260260

261261
// 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> {
15941594
explicit FMT_CONSTEXPR width_checker(ErrorHandler &eh) : handler_(eh) {}
15951595

15961596
template <typename T>
1597-
FMT_CONSTEXPR
1597+
FMT_CONSTEXPR
15981598
typename std::enable_if<
15991599
is_integer<T>::value, unsigned long long>::type operator()(T value) {
16001600
if (is_negative(value))

0 commit comments

Comments
 (0)