Skip to content

Commit b6be1c5

Browse files
committed
Fix compile time LE
1 parent 95e0318 commit b6be1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/int128/detail/uint128_imp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ constexpr bool operator<=(const uint128_t lhs, const uint128_t rhs) noexcept
815815

816816
if (BOOST_INT128_IS_CONSTANT_EVALUATED(lhs))
817817
{
818-
return lhs.high == rhs.high ? lhs.low < rhs.low : lhs.high < rhs.high; // LCOV_EXCL_LINE
818+
return lhs.high == rhs.high ? lhs.low <= rhs.low : lhs.high <= rhs.high; // LCOV_EXCL_LINE
819819
}
820820
else
821821
{

0 commit comments

Comments
 (0)