| 12288 | class Singleton : SingletonImplT, public ISingleton { |
| 12289 | |
| 12290 | static auto getInternal() -> Singleton* { |
| 12291 | static Singleton* s_instance = nullptr; |
| 12292 | if( !s_instance ) { |
| 12293 | s_instance = new Singleton; |
| 12294 | addSingleton( s_instance ); |
| 12295 | } |
| 12296 | return s_instance; |
| 12297 | } |
| 12298 | |
| 12299 | public: |
| 12300 | static auto get() -> InterfaceT const& { |
nothing calls this directly
no test coverage detected