systemc: Fix a function which was broken during style fixes.
authorGabe Black <gabeblack@google.com>
Thu, 10 Jan 2019 03:04:53 +0000 (19:04 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 10 Jan 2019 04:03:17 +0000 (04:03 +0000)
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>

src/systemc/ext/tlm_utils/multi_passthrough_initiator_socket.h

index d9b6d6f16db6f626af3aa1d9c6c906d13afd94de..30ae88d2d56660a7b9b3959d1d920246e94d4fb4 100644 (file)
@@ -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>> &