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:
@@ -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 \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user