diff options
author | Gabe Black <gabeblack@google.com> | 2018-11-08 17:18:58 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-11-09 01:28:28 +0000 |
commit | 90f24e91ae26b06a20fd556c139f507ef664a520 (patch) | |
tree | 0a2b25d926acbc591f2ddffbe4ff99557d104f76 | |
parent | dabc2b138deb02e73577bfc76d22445299abef16 (diff) | |
download | gem5-90f24e91ae26b06a20fd556c139f507ef664a520.tar.xz |
systemc: Get rid of a duplicated base class initializer for sc_fifo.
These were consistent, but redundant and incorrect none the less.
Change-Id: I9ff7fdb9c83f9a8af6fbe969c6c73b9aab8967ad
Reviewed-on: https://gem5-review.googlesource.com/c/14136
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
-rw-r--r-- | src/systemc/ext/channel/sc_fifo.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systemc/ext/channel/sc_fifo.hh b/src/systemc/ext/channel/sc_fifo.hh index ee7872a26..a048c09be 100644 --- a/src/systemc/ext/channel/sc_fifo.hh +++ b/src/systemc/ext/channel/sc_fifo.hh @@ -196,8 +196,7 @@ class sc_fifo : public sc_fifo_in_if<T>, private: // Disabled - sc_fifo(const sc_fifo<T> &) : - sc_fifo_in_if<T>(), sc_fifo_in_if<T>(), sc_prim_channel() + sc_fifo(const sc_fifo<T> &) : sc_fifo_in_if<T>(), sc_prim_channel() {} sc_fifo &operator = (const sc_fifo<T> &) { return *this; } |