Skip to content

Commit bbf92c5

Browse files
committed
Ignore MSVC warning
1 parent bf5f6a2 commit bbf92c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/boost/decimal/charconv.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,12 @@ constexpr auto to_chars_impl(char* first, char* last, const TargetDecimalType& v
12431243
return to_chars_scientific_impl(first, last, value, fmt, local_precision); // LCOV_EXCL_LINE
12441244
}
12451245

1246+
// TODO(mborland): Remove once other modes are inplace
1247+
#ifdef _MSC_VER
1248+
# pragma warning(push)
1249+
# pragma warning(disable: 4065)
1250+
#endif
1251+
12461252
template <BOOST_DECIMAL_DECIMAL_FLOATING_TYPE TargetDecimalType>
12471253
constexpr auto to_chars_impl(char* first, char* last, const TargetDecimalType& value, const chars_format fmt, const quantum_preservation method) noexcept -> to_chars_result
12481254
{

0 commit comments

Comments
 (0)