From e391fd151b589648901b86be71971713e8ee4c59 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 9 Sep 2013 18:52:23 -0500 Subject: [PATCH] stats: add operator= for DataWrapVec class gcc/g++ 4.4.7 complained about the operator= being undefined. This changeset adds the operator. --- src/base/statistics.hh | 3 +++ 1 file changed, 3 insertions(+) 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! -- 2.30.2