| 12270 | class Singleton : SingletonImplT, public ISingleton { |
| 12271 | |
| 12272 | static auto getInternal() -> Singleton* { |
| 12273 | static Singleton* s_instance = nullptr; |
| 12274 | if( !s_instance ) { |
| 12275 | s_instance = new Singleton; |
| 12276 | addSingleton( s_instance ); |
| 12277 | } |
| 12278 | return s_instance; |
| 12279 | } |
| 12280 | |
| 12281 | public: |
| 12282 | static auto get() -> InterfaceT const& { |
nothing calls this directly
no test coverage detected