diff options
Diffstat (limited to 'src/systemc/tlm_core/2/generic_payload/phase.cc')
-rw-r--r-- | src/systemc/tlm_core/2/generic_payload/phase.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemc/tlm_core/2/generic_payload/phase.cc b/src/systemc/tlm_core/2/generic_payload/phase.cc index 2c8b1e1a0..a3fb93749 100644 --- a/src/systemc/tlm_core/2/generic_payload/phase.cc +++ b/src/systemc/tlm_core/2/generic_payload/phase.cc @@ -21,9 +21,9 @@ #include <map> #include <systemc> #include <tlm> +#include <typeindex> using sc_core::sc_string_view; -using sc_core::sc_type_index; namespace tlm { @@ -43,7 +43,7 @@ struct tlm_phase_registry } unsigned int - register_phase(sc_type_index type, sc_string_view name) + register_phase(std::type_index type, sc_string_view name) { type_map::const_iterator it = ids_.find(type); @@ -77,7 +77,7 @@ struct tlm_phase_registry } private: - typedef std::map<sc_type_index, key_type> type_map; + typedef std::map<std::type_index, key_type> type_map; typedef std::vector<std::string> name_table; type_map ids_; |