summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemc/ext/channel/sc_out.hh30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/systemc/ext/channel/sc_out.hh b/src/systemc/ext/channel/sc_out.hh
index 53bd25560..37e9a5982 100644
--- a/src/systemc/ext/channel/sc_out.hh
+++ b/src/systemc/ext/channel/sc_out.hh
@@ -62,34 +62,34 @@ class sc_out : public sc_inout<T>
sc_out(const char *name, sc_out<T> &parent) : sc_inout<T>(name, parent) {}
sc_out<T> &
- operator = (const T &)
+ operator = (const T &t)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (t);
+ return *this;
}
sc_out<T> &
- operator = (const sc_signal_in_if<T> &)
+ operator = (const sc_signal_in_if<T> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
sc_out<T> &
- operator = (const sc_port<sc_signal_in_if<T>, 1> &)
+ operator = (const sc_port<sc_signal_in_if<T>, 1> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
sc_out<T> &
- operator = (const sc_port<sc_signal_inout_if<T>, 1> &)
+ operator = (const sc_port<sc_signal_inout_if<T>, 1> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
sc_out<T> &
- operator = (const sc_out<T> &)
+ operator = (const sc_out<T> &c)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
- return *(sc_out<T> *)nullptr;
+ sc_inout<T>::operator = (c);
+ return *this;
}
virtual const char *kind() const { return "sc_out"; }