Skip to content

Commit 7ede386

Browse files
committed
Fix unused variable warning
1 parent 11b8886 commit 7ede386

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/boost/decimal/decimal64_t.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,8 +1921,7 @@ constexpr auto operator/(const Integer lhs, const decimal64_t rhs) noexcept
19211921
#ifndef BOOST_DECIMAL_FAST_MATH
19221922
// Check pre-conditions
19231923
constexpr decimal64_t zero {0, 0};
1924-
constexpr decimal64_t inf {boost::decimal::from_bits(boost::decimal::detail::d64_inf_mask)};
1925-
constexpr decimal64_t nan {boost::decimal::from_bits(boost::decimal::detail::d64_snan_mask)};
1924+
constexpr decimal64_t inf {from_bits(detail::d64_inf_mask)};
19261925

19271926
const auto rhs_fp {fpclassify(rhs)};
19281927

0 commit comments

Comments
 (0)