systemc: Get rid of implementations for some disabled sc_vector methods.
authorGabe Black <gabeblack@google.com>
Fri, 2 Nov 2018 22:07:54 +0000 (15:07 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 5 Nov 2018 23:08:42 +0000 (23:08 +0000)
These don't need to exist, and the specifics of their stub
implementations were upsetting clang.

Change-Id: Ib38a39c5cfbc2e1647cfb6ed14c660e10df2b1c3
Reviewed-on: https://gem5-review.googlesource.com/c/13878
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/ext/utils/sc_vector.hh

index f5a8f9ccb6289c953cc12d74858816e25f77fd4b..48f1ee469212bf5b6c3483062b366a53ed70e3f6 100644 (file)
@@ -586,8 +586,8 @@ class sc_vector : public sc_vector_base
 
   private:
     // Disabled
-    sc_vector(const sc_vector &) : sc_vector_base() {}
-    sc_vector &operator = (const sc_vector &) { return *this; }
+    sc_vector(const sc_vector &);
+    sc_vector &operator = (const sc_vector &);
 
     void
     clear()