summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-09-09 18:52:23 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-09-09 18:52:23 -0500
commite391fd151b589648901b86be71971713e8ee4c59 (patch)
tree5d90b79b8caf27211c107eac225d95ce9157fb7d /src/base
parentff87a0dd9c6db9907317f05f2713ef96318cce13 (diff)
downloadgem5-e391fd151b589648901b86be71971713e8ee4c59.tar.xz
stats: add operator= for DataWrapVec class
gcc/g++ 4.4.7 complained about the operator= being undefined. This changeset adds the operator.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/statistics.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/base/statistics.hh b/src/base/statistics.hh
index dd3cf5e9c..cc1b59e7f 100644
--- a/src/base/statistics.hh
+++ b/src/base/statistics.hh
@@ -337,6 +337,9 @@ class DataWrapVec : public DataWrap<Derived, InfoProxyType>
DataWrapVec(const DataWrapVec &ref)
{}
+ void operator=(const DataWrapVec &)
+ {}
+
// The following functions are specific to vectors. If you use them
// in a non vector context, you will get a nice compiler error!