Skip to content

Commit 285c86e

Browse files
committed
fixes tlm_managed_extension inheritance
1 parent 5bffe94 commit 285c86e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sysc/tlm/scc/tlm_extensions.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ template <typename T> struct tlm_unmanaged_extension : public tlm_extension<T> {
4343
void copy_from(tlm_extension_base const& other) override { this->operator=(static_cast<const type&>(other)); }
4444

4545
protected:
46-
tlm_unmanaged_extension(){};
46+
tlm_unmanaged_extension() {};
4747
};
4848
/*!
4949
* \brief A managed extension for TLM transactions.
@@ -52,7 +52,7 @@ template <typename T> struct tlm_unmanaged_extension : public tlm_extension<T> {
5252
*
5353
* \tparam T The type of the extension.
5454
*/
55-
template <typename T> struct tlm_managed_extension {
55+
template <typename T> struct tlm_managed_extension : public tlm_extension<T> {
5656

5757
using type = T;
5858

0 commit comments

Comments
 (0)