Skip to content

Fix errors due to non-explicit conversions of tribool to bool#282

Open
DenizThatMenace wants to merge 1 commit intoboostorg:developfrom
DenizThatMenace:fix_tribool_conversion_errors
Open

Fix errors due to non-explicit conversions of tribool to bool#282
DenizThatMenace wants to merge 1 commit intoboostorg:developfrom
DenizThatMenace:fix_tribool_conversion_errors

Conversation

@DenizThatMenace
Copy link

This fixes errors like the following that occur with newer compiler versions:

/usr/include/boost/test/tools/assertion_result.hpp:57:79: error: no matching function for call to ‘boost::test_tools::assertion_result::readonly_property65::readonly_property65(boost::logic::tribool)’
   57 |     assertion_result( BoolConvertable const& pv_ ) : p_predicate_value( !!pv_ ) {}
      |                                                                               ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant