| 69 | } |
| 70 | |
| 71 | void captured_exception::destroy () throw() { |
| 72 | __TBB_ASSERT ( my_dynamic, "Method destroy can be used only on objects created by clone or allocate" ); |
| 73 | if ( my_dynamic ) { |
| 74 | this->captured_exception::~captured_exception(); |
| 75 | deallocate_via_handler_v3 (this); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | captured_exception* captured_exception::allocate ( const char* a_name, const char* info ) { |
| 80 | captured_exception *e = (captured_exception*)allocate_via_handler_v3( sizeof(captured_exception) ); |
no outgoing calls
no test coverage detected