File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
include/cnl/_impl/charconv Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ namespace cnl {
110
110
}
111
111
112
112
using native_rounding_type = set_rounding_t <decltype (value), native_rounding_tag>;
113
- auto const & native_rounding_value = static_cast <native_rounding_type>(value);
113
+ auto const & native_rounding_value = static_cast <native_rounding_type const & >(value);
114
114
115
115
return _impl::to_chars_non_zero<native_rounding_type>(
116
116
first, last, native_rounding_value, base);
Original file line number Diff line number Diff line change 16
16
17
17
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
18
18
#define CNL_ASSERT_EQ (a, b ) \
19
- static_assert (identical(a, b)); \
20
19
ASSERT_EQ (a, b);
21
20
22
21
// cnl::_impl::identical - compiles iff same type; returns true iff equal
You can’t perform that action at this time.
0 commit comments