commit | ef481775ae58afad37abe0c3c9b9bdf119d7bf33 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@google.com> | Tue Dec 03 06:05:08 2019 -0800 |
committer | Gabe Black <gabeblack@google.com> | Tue Dec 03 20:33:36 2019 +0000 |
tree | d845988dcf3f1d341df832155bdc5f56c076ab4f | |
parent | ce83321dfc8cbaad4ce7d62410f5e3c3551e5966 [diff] |
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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23322 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
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; }; //