From: Nilay Vaish Date: Mon, 9 Sep 2013 23:52:23 +0000 (-0500) Subject: stats: add operator= for DataWrapVec class X-Git-Tag: stable_2014_02_15~138 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e391fd151b589648901b86be71971713e8ee4c59;p=gem5.git stats: add operator= for DataWrapVec class gcc/g++ 4.4.7 complained about the operator= being undefined. This changeset adds the operator. --- 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 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!