Skip to content

Commit

Permalink
Fix GCC 5 error for static_assert without message
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Aug 23, 2022
1 parent 79ce66d commit 2aa7866
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ boost::multiprecision::int128_type fast_float_distance(boost::multiprecision::fl
BOOST_MATH_THROW_EXCEPTION(std::domain_error("Both arguments to fast_float_distnace must be finite"));
}

static_assert(sizeof(boost::multiprecision::int128_type) == sizeof(boost::multiprecision::float128_type));
static_assert(sizeof(boost::multiprecision::int128_type) == sizeof(boost::multiprecision::float128_type), "float128 is the wrong size");

boost::multiprecision::int128_type ai;
boost::multiprecision::int128_type bi;
Expand Down

0 comments on commit 2aa7866

Please sign in to comment.