systemc: Get rid of a duplicated base class initializer for sc_fifo.
authorGabe Black <gabeblack@google.com>
Fri, 9 Nov 2018 01:18:58 +0000 (17:18 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 9 Nov 2018 01:28:28 +0000 (01:28 +0000)
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>

src/systemc/ext/channel/sc_fifo.hh

index ee7872a26f0fee068f8b8bcca562de78235e21e2..a048c09bed9401e4fd06a06b4a62a38e923ed3b4 100644 (file)
@@ -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; }