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:
parent
1b77c1e24b
commit
9196fbfe5e
1 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||
{ \
|
||||
|
|
Loading…
Reference in a new issue