projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b77c1e
)
Fixes to build with gcc 4.0.
author
Steve Reinhardt
<stever@eecs.umich.edu>
Sat, 3 Sep 2005 01:30:02 +0000
(21:30 -0400)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Sat, 3 Sep 2005 01:30:02 +0000
(21:30 -0400)
sim/param.hh:
Add "template<>" to explicit template specialization.
--HG--
extra : convert_revision :
05e2f4ad8141a8782fe09a0b6824baf56c9fc957
sim/param.hh
patch
|
blob
|
history
diff --git
a/sim/param.hh
b/sim/param.hh
index 93e1697783b95befb24e692d3294c5c28c92417a..4a1b8bda1185af69b0d3149a61904d3476575056 100644
(file)
--- a/
sim/param.hh
+++ b/
sim/param.hh
@@
-762,12
+762,14
@@
class SimObjectVectorParam<T *> : public SimObjectBaseParam
// automatically invoked by REGISTER_SIM_OBJECT() (see sim_object.hh).
//
#define DEFINE_SIM_OBJECT_CLASS_NAME(CLASS_NAME, OBJ_CLASS) \
+template<> \
void \
SimObjectParam<OBJ_CLASS *>::showType(std::ostream &os) const \
{ \
os << CLASS_NAME; \
} \
\
+template<> \
void \
SimObjectVectorParam<OBJ_CLASS *>::showType(std::ostream &os) const \
{ \