diff -r 4b7e3d45ba4a vendor/boost/boost/test/impl/execution_monitor.ipp
|
a
|
b
|
|
| 1090 | 1090 | execution_monitor::catch_signals( unit_test::callback0<int> const& F ) |
| 1091 | 1091 | { |
| 1092 | 1092 | _invalid_parameter_handler old_iph = _invalid_parameter_handler(); |
| 1093 | | BOOST_TEST_CRT_HOOK_TYPE old_crt_hook; |
| | 1093 | BOOST_TEST_CRT_HOOK_TYPE old_crt_hook = 0; |
| 1094 | 1094 | |
| 1095 | 1095 | if( !p_catch_system_errors ) |
| 1096 | 1096 | _set_se_translator( &detail::seh_catch_preventer ); |
diff -r 4b7e3d45ba4a vendor/boost/boost/test/impl/framework.ipp
|
a
|
b
|
|
| 127 | 127 | test_unit_store::value_type const& tu = *m_test_units.begin(); |
| 128 | 128 | |
| 129 | 129 | // the delete will erase this element from map |
| 130 | | if( ut_detail::test_id_2_unit_type( tu.second->p_id ) == tut_suite ) |
| 131 | | delete static_cast<test_suite const*>(tu.second); |
| 132 | | else |
| 133 | | delete static_cast<test_case const*>(tu.second); |
| | 130 | if( ut_detail::test_id_2_unit_type( tu.second->p_id ) == tut_suite ) { |
| | 131 | test_suite const *p = static_cast<test_suite const*>(tu.second); |
| | 132 | delete p; |
| | 133 | } else { |
| | 134 | test_case const *p = static_cast<test_case const*>(tu.second); |
| | 135 | delete p; |
| | 136 | } |
| 134 | 137 | } |
| 135 | 138 | } |
| 136 | 139 | |