MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / addSingleton

Function addSingleton

extlibs/catch/include/catch/catch.hpp:12957–12959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12955 ISingleton::~ISingleton() {}
12956
12957 void addSingleton(ISingleton* singleton ) {
12958 getSingletons()->push_back( singleton );
12959 }
12960 void cleanupSingletons() {
12961 auto& singletons = getSingletons();
12962 for( auto singleton : *singletons )

Callers 1

getInternalMethod · 0.85

Calls 2

getSingletonsFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected