From 90f24e91ae26b06a20fd556c139f507ef664a520 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 8 Nov 2018 17:18:58 -0800 Subject: 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 --- src/systemc/ext/channel/sc_fifo.hh | 3 +-- 1 file changed, 1 insertion(+), 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, 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; } -- cgit v1.2.3