summaryrefslogtreecommitdiff
path: root/src/systemc/ext/channel
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/channel')
-rw-r--r--src/systemc/ext/channel/sc_signal.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/ext/channel/sc_signal.hh b/src/systemc/ext/channel/sc_signal.hh
index d195f4d56..022bd3394 100644
--- a/src/systemc/ext/channel/sc_signal.hh
+++ b/src/systemc/ext/channel/sc_signal.hh
@@ -173,9 +173,9 @@ class sc_signal : public sc_signal_inout_if<T>,
template <class T, sc_writer_policy WRITER_POLICY>
inline std::ostream &
-operator << (std::ostream &os, const sc_signal<T, WRITER_POLICY> &)
+operator << (std::ostream &os, const sc_signal<T, WRITER_POLICY> &s)
{
- sc_channel_warn_unimpl(__PRETTY_FUNCTION__);
+ os << s.read();
return os;
}