| 12416 | class Singleton : SingletonImplT, public ISingleton { |
| 12417 | |
| 12418 | static auto getInternal() -> Singleton* { |
| 12419 | static Singleton* s_instance = nullptr; |
| 12420 | if( !s_instance ) { |
| 12421 | s_instance = new Singleton; |
| 12422 | addSingleton( s_instance ); |
| 12423 | } |
| 12424 | return s_instance; |
| 12425 | } |
| 12426 | |
| 12427 | public: |
| 12428 | static auto get() -> InterfaceT const& { |
nothing calls this directly
no test coverage detected