Ticket #3432: framework.ipp.patch
File framework.ipp.patch, 756 bytes (added by , 13 years ago) |
---|
-
framework.ipp
old new 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( test_id_2_unit_type( tu.second->p_id ) == tut_suite ) 131 delete (test_suite const*)tu.second; 132 else 133 delete (test_case const*)tu.second; 130 if( test_id_2_unit_type( tu.second->p_id ) == tut_suite ) { 131 test_suite const* p = (test_suite const*)tu.second; 132 delete p; 133 } else { 134 test_case const* p = (test_case const*)tu.second; 135 delete p; 136 } 134 137 } 135 138 } 136 139