diff options
-rw-r--r-- | src/systemc/tlm_core/2/generic_payload/phase.cc | 5 |
1 files changed, 2 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 a3fb93749..8f9172296 100644 --- a/src/systemc/tlm_core/2/generic_payload/phase.cc +++ b/src/systemc/tlm_core/2/generic_payload/phase.cc @@ -19,12 +19,11 @@ #include <cstring> #include <map> +#include <string> #include <systemc> #include <tlm> #include <typeindex> -using sc_core::sc_string_view; - namespace tlm { @@ -43,7 +42,7 @@ struct tlm_phase_registry } unsigned int - register_phase(std::type_index type, sc_string_view name) + register_phase(std::type_index type, std::string name) { type_map::const_iterator it = ids_.find(type); |