MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / Session

Method Session

tests/catch.hpp:10714–10718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10712 } // anon namespace
10713
10714 Session::Session() {
10715 static bool alreadyInstantiated = false;
10716 if( alreadyInstantiated ) {
10717 CATCH_TRY { CATCH_INTERNAL_ERROR( "Only one instance of Catch::Session can ever be used" ); }
10718 CATCH_CATCH_ALL { getMutableRegistryHub().registerStartupException(); }
10719 }
10720
10721 // There cannot be exceptions at startup in no-exception mode.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected