summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-01-09 19:04:53 -0800
committerGabe Black <gabeblack@google.com>2019-01-10 04:03:17 +0000
commit85931deb5dee9f465811a2dd792cc398521e55d4 (patch)
tree59ed5db0ee825a14ccd5b7d59542f83fe088970b
parent2169294cd6378dd5d661209ee9752599074f1af1 (diff)
downloadgem5-85931deb5dee9f465811a2dd792cc398521e55d4.tar.xz
systemc: Fix a function which was broken during style fixes.
Some brackets were misapplied while correcting the style of the TLM header files. Change-Id: I4e26d0316ca2545a5f26ad5fef0e986e42a1895b Reviewed-on: https://gem5-review.googlesource.com/c/15455 Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
-rw-r--r--src/systemc/ext/tlm_utils/multi_passthrough_initiator_socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemc/ext/tlm_utils/multi_passthrough_initiator_socket.h b/src/systemc/ext/tlm_utils/multi_passthrough_initiator_socket.h
index d9b6d6f16..30ae88d2d 100644
--- a/src/systemc/ext/tlm_utils/multi_passthrough_initiator_socket.h
+++ b/src/systemc/ext/tlm_utils/multi_passthrough_initiator_socket.h
@@ -141,10 +141,10 @@ class multi_passthrough_initiator_socket :
if (!m_beoe_disabled) { // We are not bound hierarchically.
// So we bind the dummy to avoid a SystemC error.
base_type::m_export.bind(m_dummy);
- // and then return our own export so that the hierarchical
- // binding is set up properly.
- return base_type::get_base_export();
}
+ // and then return our own export so that the hierarchical
+ // binding is set up properly.
+ return base_type::get_base_export();
}
virtual const sc_core::sc_export<tlm::tlm_bw_transport_if<TYPES>> &