xref: /openbmc/telemetry/src/utils/make_id_name.hpp (revision 583ba441654657bb4ba9d051b747144a7258c159)
1 #pragma once
2 
3 #include <string>
4 #include <string_view>
5 #include <vector>
6 
7 namespace utils
8 {
9 
10 std::pair<std::string, std::string> makeIdName(
11     std::string_view id, std::string_view name, std::string_view defaultName,
12     const std::vector<std::string>& conflictIds);
13 
14 } // namespace utils
15