Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/15298
Change subject: systemc: Stop using the sc_string_view type.
......................................................................
systemc: Stop using the sc_string_view type.
It doesn't seem to provide anything more that std::string, and comes
with extra dependencies/baggage.
Change-Id: I2c599bcc93fa4a944ff249410d24e8f8be981afe
---
M src/systemc/tlm_core/2/generic_payload/phase.cc
1 file 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 a3fb937..8f91722 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 @@
}
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);
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/15298
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I2c599bcc93fa4a944ff249410d24e8f8be981afe
Gerrit-Change-Number: 15298
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev