| 13395 | } // anon namespace |
| 13396 | |
| 13397 | Session::Session() { |
| 13398 | static bool alreadyInstantiated = false; |
| 13399 | if( alreadyInstantiated ) { |
| 13400 | CATCH_TRY { CATCH_INTERNAL_ERROR( "Only one instance of Catch::Session can ever be used" ); } |
| 13401 | CATCH_CATCH_ALL { getMutableRegistryHub().registerStartupException(); } |
| 13402 | } |
| 13403 | |
| 13404 | // There cannot be exceptions at startup in no-exception mode. |
nothing calls this directly
no test coverage detected