| 12425 | class Singleton : SingletonImplT, public ISingleton { |
| 12426 | |
| 12427 | static auto getInternal() -> Singleton* { |
| 12428 | static Singleton* s_instance = nullptr; |
| 12429 | if( !s_instance ) { |
| 12430 | s_instance = new Singleton; |
| 12431 | addSingleton( s_instance ); |
| 12432 | } |
| 12433 | return s_instance; |
| 12434 | } |
| 12435 | |
| 12436 | public: |
| 12437 | static auto get() -> InterfaceT const& { |
nothing calls this directly
no test coverage detected