Fixes to build with gcc 4.0.

sim/param.hh:
    Add "template<>" to explicit template specialization.

--HG--
extra : convert_revision : 05e2f4ad8141a8782fe09a0b6824baf56c9fc957
This commit is contained in:
Steve Reinhardt 2005-09-02 21:30:02 -04:00
parent 1b77c1e24b
commit 9196fbfe5e

View file

@ -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 \
{ \