MCPcopy Create free account
hub / github.com/RenderKit/embree / addSingleton

Function addSingleton

tutorials/external/catch.hpp:11163–11165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11161 ISingleton::~ISingleton() {}
11162
11163 void addSingleton(ISingleton* singleton ) {
11164 getSingletons()->push_back( singleton );
11165 }
11166 void cleanupSingletons() {
11167 auto& singletons = getSingletons();
11168 for( auto singleton : *singletons )

Callers 1

getInternalMethod · 0.85

Calls 2

getSingletonsFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected