From: Gabe Black Date: Fri, 2 Nov 2018 22:07:54 +0000 (-0700) Subject: systemc: Get rid of implementations for some disabled sc_vector methods. X-Git-Tag: v19.0.0.0~1438 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28ab6ff6878dbaeec2c0a4dd1f6eaf2a244cd74e;p=gem5.git 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 Reviewed-on: https://gem5-review.googlesource.com/c/13878 Reviewed-by: Gabe Black Maintainer: Gabe Black --- diff --git a/src/systemc/ext/utils/sc_vector.hh b/src/systemc/ext/utils/sc_vector.hh index f5a8f9ccb..48f1ee469 100644 --- a/src/systemc/ext/utils/sc_vector.hh +++ b/src/systemc/ext/utils/sc_vector.hh @@ -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()