Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/13878

Change subject: systemc: Get rid of implementations for some disabled sc_vector methods.
......................................................................

systemc: Get rid of implementations for some disabled sc_vector methods.

These don't need to exist, and the specifics of their stub
implementations were upsetting clang.

Change-Id: Ib38a39c5cfbc2e1647cfb6ed14c660e10df2b1c3
---
M src/systemc/ext/utils/sc_vector.hh
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/src/systemc/ext/utils/sc_vector.hh b/src/systemc/ext/utils/sc_vector.hh
index f5a8f9c..48f1ee4 100644
--- a/src/systemc/ext/utils/sc_vector.hh
+++ b/src/systemc/ext/utils/sc_vector.hh
@@ -586,8 +586,8 @@

   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()

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13878
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ib38a39c5cfbc2e1647cfb6ed14c660e10df2b1c3
Gerrit-Change-Number: 13878
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to