| 10122 | class Singleton : SingletonImplT, public ISingleton { |
| 10123 | |
| 10124 | static auto getInternal() -> Singleton* { |
| 10125 | static Singleton* s_instance = nullptr; |
| 10126 | if( !s_instance ) { |
| 10127 | s_instance = new Singleton; |
| 10128 | addSingleton( s_instance ); |
| 10129 | } |
| 10130 | return s_instance; |
| 10131 | } |
| 10132 | |
| 10133 | public: |
| 10134 | static auto get() -> InterfaceT const& { |
nothing calls this directly
no test coverage detected