From 5daf5ea2b66e3e4331b9953623f96e98d86268b4 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 27 Nov 2019 04:14:06 -0800 Subject: [PATCH] systemc: Fix up some lingering Accellera specific code in TLM v1. This was missed initially, but clang complained about it. Change-Id: Ie6d240447a74f96faf9da87bd2f1134c1d82be8e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23128 Tested-by: kokoro Reviewed-by: Giacomo Travaglini Maintainer: Gabe Black --- .../ext/tlm_core/1/req_rsp/ports/event_finder.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.hh b/src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.hh index 49e5ed08a..350e23c22 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.hh +++ b/src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.hh @@ -28,13 +28,13 @@ namespace tlm { template -class tlm_event_finder_t : public sc_core::sc_event_finder +class tlm_event_finder_t : public sc_core::sc_event_finder_t { public: tlm_event_finder_t(const sc_core::sc_port_base &port_, const sc_core::sc_event &(IF::*event_method_)( tlm_tag *) const) : - sc_core::sc_event_finder(port_), m_event_method(event_method_) + sc_core::sc_event_finder_t(port_), m_event_method(event_method_) {} virtual ~tlm_event_finder_t() {} @@ -57,11 +57,11 @@ inline const sc_core::sc_event & tlm_event_finder_t::find_event(sc_core::sc_interface *if_p) const { const IF *iface = if_p ? dynamic_cast(if_p) : - dynamic_cast(port()->_gem5Interface(0)); + dynamic_cast(this->port()->_gem5Interface(0)); if (iface == nullptr) { std::ostringstream out; - out << "port is not bound: port '" << port()->name() << - "' (" << port()->kind() << ")"; + out << "port is not bound: port '" << this->port()->name() << + "' (" << this->port()->kind() << ")"; SC_REPORT_ERROR(sc_core::SC_ID_FIND_EVENT_, out.str().c_str()); static sc_core::sc_event none; return none; -- 2.30.2