diff --git a/include/boost/test/detail/config.hpp b/include/boost/test/detail/config.hpp index 835a945336..2d825b31ca 100644 --- a/include/boost/test/detail/config.hpp +++ b/include/boost/test/detail/config.hpp @@ -165,7 +165,7 @@ class type_info; #if (defined(BOOST_MSVC) && BOOST_MSVC < 1900) || (defined(BOOST_GCC) && BOOST_GCC < 40700) # define BOOST_TEST_DEFAULTED_FUNCTION(fun, body) fun body #else -# define BOOST_TEST_DEFAULTED_FUNCTION(fun, body) BOOST_DEFAULTED_FUNCTION(fun, body); +# define BOOST_TEST_DEFAULTED_FUNCTION(fun, body) BOOST_DEFAULTED_FUNCTION(fun, body) #endif //____________________________________________________________________________// diff --git a/test/test-organization-ts/test-tree-management-test.cpp b/test/test-organization-ts/test-tree-management-test.cpp index 97a22804fb..37947c9cef 100644 --- a/test/test-organization-ts/test-tree-management-test.cpp +++ b/test/test-organization-ts/test-tree-management-test.cpp @@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE( manual_test_case_creation_test ) BOOST_TEST( tc1->p_expected_failures == 0U ); BOOST_TEST( tc1->p_timeout == 0U ); BOOST_TEST( tc1->p_name == const_string( "empty_" ) ); - BOOST_TEST( tc1->p_test_func ); + BOOST_TEST( static_cast(tc1->p_test_func.get()) ); BOOST_TEST( tc1->p_default_status == test_unit::RS_INHERIT ); BOOST_TEST( tc1->p_run_status == test_unit::RS_INVALID ); BOOST_TEST( !tc1->is_enabled() );