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

Function addSingleton

external/catch.hpp:13586–13588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13584 ISingleton::~ISingleton() {}
13585
13586 void addSingleton(ISingleton* singleton ) {
13587 getSingletons()->push_back( singleton );
13588 }
13589 void cleanupSingletons() {
13590 auto& singletons = getSingletons();
13591 for( auto singleton : *singletons )

Callers 1

getInternalMethod · 0.85

Calls 1

getSingletonsFunction · 0.85

Tested by

no test coverage detected