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

Function cleanupSingletons

tests/catch.hpp:10898–10904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10896 getSingletons()->push_back( singleton );
10897 }
10898 void cleanupSingletons() {
10899 auto& singletons = getSingletons();
10900 for( auto singleton : *singletons )
10901 delete singleton;
10902 delete singletons;
10903 singletons = nullptr;
10904 }
10905
10906} // namespace Catch
10907// end catch_singletons.cpp

Callers 1

cleanUpFunction · 0.85

Calls 1

getSingletonsFunction · 0.85

Tested by

no test coverage detected