Skip to content

Commit 5857b98

Browse files
committed
some warnings fix in CI builds.
1 parent 59da568 commit 5857b98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/fast_float/float_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ template <typename UC> struct parse_options_t {
106106
constexpr explicit parse_options_t(
107107
chars_format const fmt = chars_format::general, UC const dot = UC('.'),
108108
base_t const b = 10) noexcept
109-
: format(fmt), decimal_point(dot), base(b) {}
109+
: format(fmt), base(b), decimal_point(dot) {}
110110

111111
/** Which number formats are accepted */
112112
chars_format format;
@@ -154,7 +154,7 @@ FASTFLOAT_CONSTEXPR20 To bit_cast(const From &from) noexcept {
154154
(defined(__riscv) && __riscv_xlen == 32))
155155
#define FASTFLOAT_32BIT 1
156156
#else
157-
// Need to check incrementally, since SIZE_MAX is a size_t, avoid overflow.
157+
// Need to check incrementally, since SIZE_MAX is a size_t, avoid overflow.
158158
// We can never tell the register width, but the SIZE_MAX is a good
159159
// approximation. UINTPTR_MAX and INTPTR_MAX are optional, so avoid them for max
160160
// portability.

0 commit comments

Comments
 (0)