summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-09-02 21:30:02 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-09-02 21:30:02 -0400
commit9196fbfe5e2246a4f9086a8692a0569d25fd84d9 (patch)
treec7f3eba2549b1741a095ea68159d05abbf800610
parent1b77c1e24bfcb747c9fc3edd99df84874e72f1e1 (diff)
downloadgem5-9196fbfe5e2246a4f9086a8692a0569d25fd84d9.tar.xz
Fixes to build with gcc 4.0.
sim/param.hh: Add "template<>" to explicit template specialization. --HG-- extra : convert_revision : 05e2f4ad8141a8782fe09a0b6824baf56c9fc957
-rw-r--r--sim/param.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/param.hh b/sim/param.hh
index 93e169778..4a1b8bda1 100644
--- 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 \
{ \