From 28ab6ff6878dbaeec2c0a4dd1f6eaf2a244cd74e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 2 Nov 2018 15:07:54 -0700 Subject: [PATCH] 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 --- src/systemc/ext/utils/sc_vector.hh | 4 ++-- 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 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() -- 2.30.2