| 165 | namespace { |
| 166 | struct TExecPathsHolder { |
| 167 | inline TExecPathsHolder() { |
| 168 | ExecPath = GetExecPathImpl(); |
| 169 | |
| 170 | if (!GetPersistentExecPathImpl(PersistentExecPath)) { |
| 171 | PersistentExecPath = ExecPath; |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | static inline auto Instance() { |
| 176 | return SingletonWithPriority<TExecPathsHolder, 1>(); |
nothing calls this directly
no test coverage detected