Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/23322 )
Change subject: systemc: Purposefully *expose* bind in the initiator socket.
......................................................................
systemc: Purposefully *expose* bind in the initiator socket.
Apparently the base version of bind actually *is* supposed to be
accessible, so expose it with using instead of hiding it.
Change-Id: Ie762c35d6322e744696ed597189b7773ea68c3b7
---
M src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
b/src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
index 75f8f0a..35c650b 100644
--- a/src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
+++ b/src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
@@ -120,6 +120,8 @@
(s.get_base_export())(get_base_export());
}
+ using port_type::bind;
+
void operator() (base_type &s) { bind(s); }
//
@@ -169,9 +171,6 @@
protected:
export_type m_export;
-
- private:
- using port_type::bind;
};
//
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/23322
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: Ie762c35d6322e744696ed597189b7773ea68c3b7
Gerrit-Change-Number: 23322
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev