summaryrefslogtreecommitdiff
path: root/src/parameters_parser.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/parameters_parser.hh')
-rw-r--r--src/parameters_parser.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parameters_parser.hh b/src/parameters_parser.hh
index 79f4f702..f45c0410 100644
--- a/src/parameters_parser.hh
+++ b/src/parameters_parser.hh
@@ -2,7 +2,7 @@
#define parameters_parser_hh_INCLUDED
#include "exception.hh"
-#include "id_map.hh"
+#include "hash_map.hh"
#include "array_view.hh"
#include "flags.hh"
#include "optional.hh"
@@ -41,7 +41,7 @@ struct SwitchDesc
String description;
};
-using SwitchMap = IdMap<SwitchDesc, MemoryDomain::Commands>;
+using SwitchMap = HashMap<String, SwitchDesc, MemoryDomain::Commands>;
String generate_switches_doc(const SwitchMap& opts);