| 70 | |
| 71 | namespace DtorException { |
| 72 | inline void devHalt() |
| 73 | { |
| 74 | // If any guard's dtor is executed during exception processing, |
| 75 | // (remember - this guards live on the stack), exception |
| 76 | // in leave() causes std::terminate() to be called, therefore |
| 77 | // losing original exception information. Not good for us. |
| 78 | // Therefore ignore in release and abort in debug. |
| 79 | #ifdef DEV_BUILD |
| 80 | abort(); |
| 81 | #endif |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | #endif // COMMON_GDSASSERT_H |
no outgoing calls
no test coverage detected