projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff87a0d
)
stats: add operator= for DataWrapVec class
author
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 9 Sep 2013 23:52:23 +0000
(18:52 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 9 Sep 2013 23:52:23 +0000
(18:52 -0500)
gcc/g++ 4.4.7 complained about the operator= being undefined.
This changeset adds the operator.
src/base/statistics.hh
patch
|
blob
|
history
diff --git
a/src/base/statistics.hh
b/src/base/statistics.hh
index dd3cf5e9ce4e2cb7feacf9cedff406b4f0d4c569..cc1b59e7f0c74f0d712acf169b26c046c78a503d 100644
(file)
--- 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!