| 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 |
no test coverage detected