summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_export.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/core/sc_export.hh')
-rw-r--r--src/systemc/ext/core/sc_export.hh11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/systemc/ext/core/sc_export.hh b/src/systemc/ext/core/sc_export.hh
index dc2176492..421e063c0 100644
--- a/src/systemc/ext/core/sc_export.hh
+++ b/src/systemc/ext/core/sc_export.hh
@@ -41,6 +41,9 @@ class sc_export_base : public sc_object
{
public:
void warn_unimpl(const char *func) const;
+
+ virtual sc_interface *get_iterface() = 0;
+ virtual const sc_interface *get_interface() const = 0;
};
template <class IF>
@@ -71,14 +74,14 @@ class sc_export : public sc_export_base
return nullptr;
}
- virtual sc_interface *
- get_iterface()
+ sc_interface *
+ get_iterface() override
{
warn_unimpl(__PRETTY_FUNCTION__);
return nullptr;
}
- virtual const sc_interface *
- get_interface() const
+ const sc_interface *
+ get_interface() const override
{
warn_unimpl(__PRETTY_FUNCTION__);
return nullptr;