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

Function addSingleton

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

Source from the content-addressed store, hash-verified

13360 ISingleton::~ISingleton() {}
13361
13362 void addSingleton(ISingleton* singleton ) {
13363 getSingletons()->push_back( singleton );
13364 }
13365 void cleanupSingletons() {
13366 auto& singletons = getSingletons();
13367 for( auto singleton : *singletons )

Callers 1

getInternalMethod · 0.85

Calls 1

getSingletonsFunction · 0.85

Tested by

no test coverage detected