summaryrefslogtreecommitdiff
path: root/src/systemc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-11-02 15:07:54 -0700
committerGabe Black <gabeblack@google.com>2018-11-05 23:08:42 +0000
commit28ab6ff6878dbaeec2c0a4dd1f6eaf2a244cd74e (patch)
treef5a0b7689c4f284eeb1e5636178834c94bb86dcc /src/systemc
parent287614186a2d25eb0d59d8978f308e1a8922ce3d (diff)
downloadgem5-28ab6ff6878dbaeec2c0a4dd1f6eaf2a244cd74e.tar.xz
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 <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc')
-rw-r--r--src/systemc/ext/utils/sc_vector.hh4
1 files 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()