MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / getSingletons

Function getSingletons

tests/catch.hpp:10885–10890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10883
10884 namespace {
10885 static auto getSingletons() -> std::vector<ISingleton*>*& {
10886 static std::vector<ISingleton*>* g_singletons = nullptr;
10887 if( !g_singletons )
10888 g_singletons = new std::vector<ISingleton*>();
10889 return g_singletons;
10890 }
10891 }
10892
10893 ISingleton::~ISingleton() {}

Callers 2

addSingletonFunction · 0.85
cleanupSingletonsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected