| 381 | std::map<phases, std::string> short_desc_map, long_desc_map; |
| 382 | std::map<std::string, phases> index_map; |
| 383 | PhaseInformation() { |
| 384 | const phase_info* const end = phase_info_list + sizeof(phase_info_list) / sizeof(phase_info_list[0]); |
| 385 | for (const phase_info* el = phase_info_list; el != end; ++el) { |
| 386 | short_desc_map.emplace(el->key, el->short_desc); |
| 387 | long_desc_map.emplace(el->key, el->long_desc); |
| 388 | index_map.emplace(el->short_desc, el->key); |
| 389 | } |
| 390 | } |
| 391 | }; |
| 392 | |
| 393 | std::unique_ptr<PhaseInformation> phase_information_p; |
nothing calls this directly
no outgoing calls
no test coverage detected