MCPcopy Create free account
hub / github.com/Profactor/cv-plot / Session

Method Session

CvPlot/ext/catch2/inc/catch.hpp:13173–13177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected