| 13171 | } // anon namespace |
| 13172 | |
| 13173 | Session::Session() { |
| 13174 | static bool alreadyInstantiated = false; |
| 13175 | if( alreadyInstantiated ) { |
| 13176 | CATCH_TRY { CATCH_INTERNAL_ERROR( "Only one instance of Catch::Session can ever be used" ); } |
| 13177 | CATCH_CATCH_ALL { getMutableRegistryHub().registerStartupException(); } |
| 13178 | } |
| 13179 | |
| 13180 | // There cannot be exceptions at startup in no-exception mode. |
nothing calls this directly
no test coverage detected