From: Gabe Black Date: Fri, 9 Nov 2018 01:18:58 +0000 (-0800) Subject: systemc: Get rid of a duplicated base class initializer for sc_fifo. X-Git-Tag: v19.0.0.0~1412 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90f24e91ae26b06a20fd556c139f507ef664a520;p=gem5.git 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 Maintainer: Gabe Black --- 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, private: // Disabled - sc_fifo(const sc_fifo &) : - sc_fifo_in_if(), sc_fifo_in_if(), sc_prim_channel() + sc_fifo(const sc_fifo &) : sc_fifo_in_if(), sc_prim_channel() {} sc_fifo &operator = (const sc_fifo &) { return *this; }