MCPcopy Create free account
hub / github.com/RenderKit/oidn / Session

Method Session

external/catch.hpp:13397–13401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected